Use CONF_CC_OPTS
authorManuel M T Chakravarty <chak@cse.unsw.edu.au>
Thu, 17 Sep 2009 13:13:07 +0000 (13:13 +0000)
committerManuel M T Chakravarty <chak@cse.unsw.edu.au>
Thu, 17 Sep 2009 13:13:07 +0000 (13:13 +0000)
- Needed to get arch-dependent options, eg, on Snow Leopard

gmp/ghc.mk

index 6c32e29..8eed590 100644 (file)
@@ -17,7 +17,7 @@ include libraries/integer-gmp/gmp/config.mk
 endif
 
 libraries/integer-gmp/cbits/mkGmpDerivedConstants$(exeext): libraries/integer-gmp/cbits/mkGmpDerivedConstants.c
-       "$(CC)" $(SRC_CC_OPTS) $(libraries/integer-gmp_CC_OPTS) $< -o $@
+       "$(CC)" $(SRC_CC_OPTS) $(CONF_CC_OPTS) $(libraries/integer-gmp_CC_OPTS) $< -o $@
 
 libraries/integer-gmp/cbits/GmpDerivedConstants.h: libraries/integer-gmp/cbits/mkGmpDerivedConstants$(exeext)
        $< > $@