Add some more flags to includes_CC_OPTS
authorIan Lynagh <ian@well-typed.com>
Mon, 12 Nov 2012 23:29:09 +0000 (23:29 +0000)
committerIan Lynagh <ian@well-typed.com>
Mon, 12 Nov 2012 23:29:09 +0000 (23:29 +0000)
Fixes build on OS X

includes/ghc.mk

index ac5200d..6b92d20 100644 (file)
@@ -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