Pass in CXX to libffi's configure script.
authorGintautas Miliauskas <gintautas.miliauskas@gmail.com>
Sat, 25 Oct 2014 00:27:05 +0000 (19:27 -0500)
committerAustin Seipp <austin@well-typed.com>
Sat, 25 Oct 2014 00:27:06 +0000 (19:27 -0500)
Reviewers: austin

Reviewed By: austin

Subscribers: thomie, carter, ezyang, simonmar

Differential Revision: https://phabricator.haskell.org/D370

GHC Trac Issues: #9720

libffi/ghc.mk

index 4e177d2..ec37f0c 100644 (file)
@@ -90,6 +90,7 @@ $(libffi_STAMP_CONFIGURE): $(TOUCH_DEP)
            $(LIBFFI_PATH_MANGLE) \
            cd build && \
            CC=$(CC_STAGE1) \
            $(LIBFFI_PATH_MANGLE) \
            cd build && \
            CC=$(CC_STAGE1) \
+           CXX=$(CC_STAGE1) \
            LD=$(LD) \
            AR=$(AR_STAGE1) \
            NM=$(NM) \
            LD=$(LD) \
            AR=$(AR_STAGE1) \
            NM=$(NM) \