summaryrefslogtreecommitdiff
path: root/rules/build-package-data.mk
diff options
context:
space:
mode:
authorManuel M T Chakravarty <chak@cse.unsw.edu.au>2009-09-17 13:27:06 +0000
committerManuel M T Chakravarty <chak@cse.unsw.edu.au>2009-09-17 13:27:06 +0000
commite6ca2d4ac1e3d86bd93e5884fbae03151c708862 (patch)
tree79fe947969b5ff733634f2e1a619daeba07a453d /rules/build-package-data.mk
parentf35b012e13cea7815831973fbdb6b5e974973cd3 (diff)
downloadhaskell-e6ca2d4ac1e3d86bd93e5884fbae03151c708862.tar.gz
Use CONF_CC_OPTS
- Needed to get arch-dependent options, eg, on Snow Leopard
Diffstat (limited to 'rules/build-package-data.mk')
-rw-r--r--rules/build-package-data.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/rules/build-package-data.mk b/rules/build-package-data.mk
index 4fe60f9818..88e2c63171 100644
--- a/rules/build-package-data.mk
+++ b/rules/build-package-data.mk
@@ -31,7 +31,7 @@ endif
# We filter out -Werror from SRC_CC_OPTS, because when configure tests
# for a feature it may not generate warning-free C code, and thus may
# think that the feature doesn't exist if -Werror is on.
-$1_$2_CONFIGURE_OPTS += --configure-option=CFLAGS="$$(filter-out -Werror,$$(SRC_CC_OPTS)) $$($1_CC_OPTS) $$($1_$2_CC_OPTS)"
+$1_$2_CONFIGURE_OPTS += --configure-option=CFLAGS="$$(filter-out -Werror,$$(SRC_CC_OPTS)) $$(CONF_CC_OPTS) $$($1_CC_OPTS) $$($1_$2_CC_OPTS)"
$1_$2_CONFIGURE_OPTS += --configure-option=LDFLAGS="$$(SRC_LD_OPTS) $$($1_LD_OPTS) $$($1_$2_LD_OPTS)"
ifneq "$$(ICONV_INCLUDE_DIRS)" ""