diff options
author | Ian Lynagh <igloo@earth.li> | 2007-09-02 19:39:18 +0000 |
---|---|---|
committer | Ian Lynagh <igloo@earth.li> | 2007-09-02 19:39:18 +0000 |
commit | d759c7231dde979ed2824bd39b2fdff24357d355 (patch) | |
tree | 8a2c44987b00e67eba4bd61cb629c976121057ae /rts/Makefile | |
parent | fbb3eef5ee8f6f901ed6149b246c3bdbf8bd34fd (diff) | |
download | haskell-d759c7231dde979ed2824bd39b2fdff24357d355.tar.gz |
Fix and supress some warnings, and turn on -Werror when validating
Diffstat (limited to 'rts/Makefile')
-rw-r--r-- | rts/Makefile | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/rts/Makefile b/rts/Makefile index 7fab5fa068..4e1c915e50 100644 --- a/rts/Makefile +++ b/rts/Makefile @@ -171,6 +171,16 @@ RtsUtils_CC_OPTS += -DTargetPlatform=$(DQ)$(TARGETPLATFORM)$(DQ) RtsUtils_CC_OPTS += -DGhcUnregisterised=$(DQ)$(GhcUnregisterised)$(DQ) RtsUtils_CC_OPTS += -DGhcEnableTablesNextToCode=$(DQ)$(GhcEnableTablesNextToCode)$(DQ) +StgCRun_CC_OPTS += -w +Typeable_CC_OPTS += -w +RetainerProfile_CC_OPTS += -w +sm/Compact_CC_OPTS += -w +# The above warning supression flags are a temporary kludge. +# While working on this module you are encouraged to remove it and fix +# any warnings in the module. See +# http://hackage.haskell.org/trac/ghc/wiki/WorkingConventions#Warnings +# for details + ifeq "$(way)" "mp" SRC_HC_OPTS += -I$$PVM_ROOT/include endif |