Add STANDARD_OPTS to SRC_HC_OPTS in rts/Makefile so we get -I../includes for .cmm...
authorIan Lynagh <igloo@earth.li>
Wed, 26 Sep 2007 12:26:37 +0000 (12:26 +0000)
committerIan Lynagh <igloo@earth.li>
Wed, 26 Sep 2007 12:26:37 +0000 (12:26 +0000)
Patch from Clemens Fruhwirth

rts/Makefile

index e3bc692..7e9dc08 100644 (file)
@@ -133,7 +133,7 @@ SRC_CC_OPTS += $(WARNING_OPTS)
 SRC_CC_OPTS += $(STANDARD_OPTS)
 
 SRC_CC_OPTS += $(GhcRtsCcOpts)
-SRC_HC_OPTS += $(GhcRtsHcOpts) -package-name rts
+SRC_HC_OPTS += $(GhcRtsHcOpts) $(STANDARD_OPTS) -package-name rts
 
 ifneq "$(GhcWithSMP)" "YES"
 SRC_CC_OPTS += -DNOSMP