[commit: ghc] ghc-7.2: Fix validate with old versions of gcc (c650a94)
Ian Lynagh
igloo at earth.li
Fri Jul 15 03:23:15 CEST 2011
Repository : ssh://darcs.haskell.org//srv/darcs/ghc
On branch : ghc-7.2
http://hackage.haskell.org/trac/ghc/changeset/c650a94ea25398ae4b152570dbed0c5b7624eb60
>---------------------------------------------------------------
commit c650a94ea25398ae4b152570dbed0c5b7624eb60
Author: Ian Lynagh <igloo at earth.li>
Date: Wed Jul 13 15:33:07 2011 +0100
Fix validate with old versions of gcc
Old versions don't understand -Wno-error=inline
>---------------------------------------------------------------
mk/validate-settings.mk | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/mk/validate-settings.mk b/mk/validate-settings.mk
index e0d95c7..9f06417 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
More information about the Cvs-ghc
mailing list