X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=rts%2FMakefile;h=c310ee07249e5963952b9413a1badaf09e0e46b9;hb=a61629589f42ec2c08ad177ff24eaf53682dfb63;hp=7fab5fa068f0cfef02ffd74d0b33bd980ce05731;hpb=49b8105e8d56c90099234e31c32ba3f1643276fe;p=ghc-hetmet.git diff --git a/rts/Makefile b/rts/Makefile index 7fab5fa..c310ee0 100644 --- a/rts/Makefile +++ b/rts/Makefile @@ -37,6 +37,11 @@ endif # ----------------------------------------------------------------------------- +# There's nothing for Haddock here... +override HADDOCK_DOCS = NO + +# ----------------------------------------------------------------------------- + # Tells the build system not to add various Haskellish options to $(SRC_HC_OPTS) NON_HS_PACKAGE = YES @@ -171,6 +176,23 @@ 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 +# On Windows: +win32/ConsoleHandler_CC_OPTS += -w +win32/ThrIOManager_CC_OPTS += -w +win32/Ticker_CC_OPTS += -w +Threads_CC_OPTS += -w +Capability_CC_OPTS += -w +Schedule_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