summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2011-07-13 15:33:07 +0100
committerIan Lynagh <igloo@earth.li>2011-07-13 15:33:07 +0100
commita6e032040681e5e17a3c043962b7a903e88bbfb9 (patch)
tree7e07e3f7fa5959b2005b799db4311b21c791db4e /mk
parent820591722ccce6f8443dc9101055cc26d7be5a50 (diff)
downloadhaskell-a6e032040681e5e17a3c043962b7a903e88bbfb9.tar.gz
Fix validate with old versions of gcc
Old versions don't understand -Wno-error=inline
Diffstat (limited to 'mk')
-rw-r--r--mk/validate-settings.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/mk/validate-settings.mk b/mk/validate-settings.mk
index e0d95c75b3..9f06417ea8 100644
--- a/mk/validate-settings.mk
+++ b/mk/validate-settings.mk
@@ -10,9 +10,9 @@ SRC_CC_OPTS += -Wall $(WERROR)
# we turn it on explicitly for consistency with other users
ifeq "$(GccLT46)" "NO"
SRC_CC_OPTS += -Werror=unused-but-set-variable
-endif
# gcc 4.6 gives 3 warning for giveCapabilityToTask not being inlined
SRC_CC_OPTS += -Wno-error=inline
+endif
SRC_HC_OPTS += -Wall $(WERROR) -H64m -O0