[commit: ghc] master: Hack-fix build breakage on Linux/GCC from fc4856f9 (5a3918f)

git at git.haskell.org git at git.haskell.org
Wed Sep 4 10:05:18 CEST 2013


Repository : ssh://git@git.haskell.org/ghc

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/5a3918febb7354e0900c4f04151599d833716032/ghc

>---------------------------------------------------------------

commit 5a3918febb7354e0900c4f04151599d833716032
Author: Herbert Valerio Riedel <hvr at gnu.org>
Date:   Wed Sep 4 10:00:08 2013 +0200

    Hack-fix build breakage on Linux/GCC from fc4856f9
    
    For some reason, the new `GccIsClang` variable introduced via
    fc4856f9e811d9a23ae9212f43a09ddf5ef12b26 for addressing #8148
    isn't set explicitly to `NO`; so this simply changes the test
    `ifeq $(GccIsClang) NO` to `ifneq $(GccIsClang) YES` which
    should fix the build with and w/o Clang.


>---------------------------------------------------------------

5a3918febb7354e0900c4f04151599d833716032
 mk/validate-settings.mk |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mk/validate-settings.mk b/mk/validate-settings.mk
index 00ce027..ba645a4 100644
--- a/mk/validate-settings.mk
+++ b/mk/validate-settings.mk
@@ -10,7 +10,7 @@ HADDOCK_DOCS    = YES
 #####################
 # Warnings
 
-ifeq "$(GccIsClang)" "NO"
+ifneq "$(GccIsClang)" "YES"
 
 # Debian doesn't turn -Werror=unused-but-set-variable on by default, so
 # we turn it on explicitly for consistency with other users





More information about the ghc-commits mailing list