diff options
-rw-r--r-- | mk/warnings.mk | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/mk/warnings.mk b/mk/warnings.mk index 61d60ab0ea..5ca097f17b 100644 --- a/mk/warnings.mk +++ b/mk/warnings.mk @@ -21,13 +21,14 @@ ifeq "$(GccLT46)" "NO" ifneq "$(HostOS_CPP)" "mingw32" SRC_CC_WARNING_OPTS += -Werror=unused-but-set-variable endif -# gcc 4.6 gives 3 warning for giveCapabilityToTask not being inlined -SRC_CC_WARNING_OPTS += -Wno-error=inline endif ifeq "$(GccLT44)" "NO" # Suppress the warning about __sync_fetch_and_nand (#9678). libraries/ghc-prim/cbits/atomic_CC_OPTS += -Wno-sync-nand +# gcc 4.6 gives 3 warnings for giveCapabilityToTask not being inlined +# gcc 4.4 gives 2 warnings for lockClosure not being inlined +SRC_CC_WARNING_OPTS += -Wno-error=inline endif else |