X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=rts%2FMakefile;h=7e9dc089415e4aca23703ce87e0d286eba290c79;hb=2777940384ce4740954062bedd0f6813698fc72a;hp=c310ee07249e5963952b9413a1badaf09e0e46b9;hpb=a61629589f42ec2c08ad177ff24eaf53682dfb63;p=ghc-hetmet.git diff --git a/rts/Makefile b/rts/Makefile index c310ee0..7e9dc08 100644 --- a/rts/Makefile +++ b/rts/Makefile @@ -35,6 +35,10 @@ GhcRtsHcOpts= GhcRtsCcOpts=-g -O0 endif +ifeq "$(BeConservative)" "YES" +GhcRtsCcOpts += -DBE_CONSERVATIVE +endif + # ----------------------------------------------------------------------------- # There's nothing for Haddock here... @@ -129,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