Set more env variables when configuring libffi
authorIan Lynagh <igloo@earth.li>
Tue, 18 May 2010 18:50:14 +0000 (18:50 +0000)
committerIan Lynagh <igloo@earth.li>
Tue, 18 May 2010 18:50:14 +0000 (18:50 +0000)
We now tell it where to find ld, nm and ar

libffi/ghc.mk

index 8d452b3..d9b1c01 100644 (file)
@@ -127,6 +127,9 @@ $(libffi_STAMP_CONFIGURE):
            export PATH; \
            cd build && \
            CC=$(WhatGccIsCalled) \
+           LD=$(LD) \
+           AR=$(AR) \
+           NM=$(NM) \
         CFLAGS="$(SRC_CC_OPTS) $(CONF_CC_OPTS) -w" \
         LDFLAGS="$(SRC_LD_OPTS) $(CONF_LD_OPTS) -w" \
         "$(SHELL)" configure \