summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
authorIan Lynagh <ian@well-typed.com>2012-11-12 23:29:09 +0000
committerIan Lynagh <ian@well-typed.com>2012-11-12 23:29:09 +0000
commit0564a6353811437659364db202c8d36b44b7f175 (patch)
tree2bc35ea7f1395ed6f3f1e4282982f617f9c60f3b /includes
parentf49271c06434cace6f955c7b651295f0f1db3a03 (diff)
downloadhaskell-0564a6353811437659364db202c8d36b44b7f175.tar.gz
Add some more flags to includes_CC_OPTS
Fixes build on OS X
Diffstat (limited to 'includes')
-rw-r--r--includes/ghc.mk5
1 files changed, 5 insertions, 0 deletions
diff --git a/includes/ghc.mk b/includes/ghc.mk
index ac5200d17c..6b92d20837 100644
--- a/includes/ghc.mk
+++ b/includes/ghc.mk
@@ -33,6 +33,11 @@ includes_H_FILES := $(subst /./,/,$(includes_H_FILES))
#
# Options
#
+
+includes_CC_OPTS += $(SRC_CC_OPTS)
+includes_CC_OPTS += $(SRC_CC_WARNING_OPTS)
+includes_CC_OPTS += $(CONF_CC_OPTS_STAGE1)
+
ifeq "$(GhcUnregisterised)" "YES"
includes_CC_OPTS += -DUSE_MINIINTERPRETER
endif