$OpenBSD: patch-base_jasper_mak,v 1.2 2012/08/22 06:24:17 ajacoutot Exp $
--- base/jasper.mak.orig	Wed Aug  8 10:01:36 2012
+++ base/jasper.mak	Fri Aug 17 15:12:56 2012
@@ -161,7 +161,7 @@ JAS_EXCF_=\
         $(D_)EXCLUDE_PNG_SUPPORT$(_D_)1$(_D)
 
 # define our specific compiler
-JAS_CC=$(CC_) $(I_)$(JASGEN) $(II)$(JPXI_)$(_I) $(JPXCF_) $(JAS_EXCF_)
+JAS_CC=$(CC) $(I_)$(JASGEN) $(II)$(JPXI_)$(_I) $(JPXCF_) $(CCFLAGS) $(JAS_EXCF_)
 JASO_=$(O_)$(JASOBJ)
 
 # switch in the selected .dev
