diff options
Diffstat (limited to 'libffi')
-rw-r--r-- | libffi/ghc.mk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libffi/ghc.mk b/libffi/ghc.mk index 1efb8fb420..46400ab43e 100644 --- a/libffi/ghc.mk +++ b/libffi/ghc.mk @@ -114,7 +114,7 @@ $(libffi_STAMP_CONFIGURE): PATH=`pwd`:$$PATH; \ export PATH; \ cd build && \ - CC=$(WhatGccIsCalled) \ + CC=$(CC_STAGE1) \ LD=$(LD) \ AR=$(AR) \ NM=$(NM) \ @@ -177,7 +177,7 @@ $(eval $(call all-target,libffi,$(INSTALL_HEADERS) $(INSTALL_LIBS))) libffi/dist-install/build/HSffi.o: libffi/dist-install/build/libHSffi.a cd libffi/dist-install/build && \ touch empty.c && \ - "$(CC)" $(SRC_CC_OPTS) $(CONF_CC_OPTS_STAGE1) -c empty.c -o HSffi.o + "$(CC_STAGE1)" $(SRC_CC_OPTS) $(CONF_CC_OPTS_STAGE1) -c empty.c -o HSffi.o $(eval $(call all-target,libffi,libffi/dist-install/build/HSffi.o)) |