[commit: ghc] wip/angerman/win32-cross-2: add CCX=$(CXX) to integer-gmp (1dfd7aa)

git at git.haskell.org git at git.haskell.org
Tue Mar 6 03:20:43 UTC 2018


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

On branch  : wip/angerman/win32-cross-2
Link       : http://ghc.haskell.org/trac/ghc/changeset/1dfd7aa2cb06adccc9180463807e62260d66c90e/ghc

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

commit 1dfd7aa2cb06adccc9180463807e62260d66c90e
Author: Moritz Angermann <moritz.angermann at gmail.com>
Date:   Tue Mar 6 11:20:22 2018 +0800

    add CCX=$(CXX) to integer-gmp


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

1dfd7aa2cb06adccc9180463807e62260d66c90e
 libraries/integer-gmp/gmp/ghc.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libraries/integer-gmp/gmp/ghc.mk b/libraries/integer-gmp/gmp/ghc.mk
index 556a271..f18e27d 100644
--- a/libraries/integer-gmp/gmp/ghc.mk
+++ b/libraries/integer-gmp/gmp/ghc.mk
@@ -131,7 +131,7 @@ libraries/integer-gmp/gmp/libgmp.a libraries/integer-gmp/gmp/gmp.h:
 	#       `./configure`, not `HOSTPLATFORM`: the 'host' on which GMP will
 	#       run is the 'target' platform of the compiler we're building.
 	cd libraries/integer-gmp/gmp/gmpbuild; \
-	    CC=$(CCX) NM=$(NM) AR=$(AR_STAGE1) ./configure \
+	    CC=$(CCX) CXX=$(CCX) NM=$(NM) AR=$(AR_STAGE1) ./configure \
 	          --enable-shared=no \
 	          --host=$(TARGETPLATFORM) --build=$(BUILDPLATFORM)
 	$(MAKE) -C libraries/integer-gmp/gmp/gmpbuild MAKEFLAGS=



More information about the ghc-commits mailing list