Follow changes in GHC's build system
authorIan Lynagh <ian@well-typed.com>
Fri, 1 Mar 2013 23:24:44 +0000 (23:24 +0000)
committerIan Lynagh <ian@well-typed.com>
Fri, 1 Mar 2013 23:24:44 +0000 (23:24 +0000)
gmp/ghc.mk

index f6f3539..d98eb8e 100644 (file)
@@ -33,7 +33,7 @@ clean_gmp:
        $(call removeTrees,libraries/integer-gmp/gmp/gmpbuild)
 endif
 
-ifeq "$(Windows)" "YES"
+ifeq "$(Windows_Host)" "YES"
 # Apparently building on Windows fails when there is a system gmp
 # available, so we never try to use the system gmp on Windows
 libraries/integer-gmp_CONFIGURE_OPTS += --configure-option=--with-intree-gmp