summaryrefslogtreecommitdiff
path: root/libffi
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2010-05-18 18:50:14 +0000
committerIan Lynagh <igloo@earth.li>2010-05-18 18:50:14 +0000
commit9318157b987052f5dbd4df19f2e8ba1beeabc8ee (patch)
treeb3ff9025089fe7c920121cd3a190df7102f5f5d0 /libffi
parent8924296aac382b808d89c865a9c4a05ebbf21a0e (diff)
downloadhaskell-9318157b987052f5dbd4df19f2e8ba1beeabc8ee.tar.gz
Set more env variables when configuring libffi
We now tell it where to find ld, nm and ar
Diffstat (limited to 'libffi')
-rw-r--r--libffi/ghc.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/libffi/ghc.mk b/libffi/ghc.mk
index 8d452b3713..d9b1c016d5 100644
--- a/libffi/ghc.mk
+++ b/libffi/ghc.mk
@@ -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 \