diff options
author | Ian Lynagh <igloo@earth.li> | 2010-05-18 18:50:14 +0000 |
---|---|---|
committer | Ian Lynagh <igloo@earth.li> | 2010-05-18 18:50:14 +0000 |
commit | 9318157b987052f5dbd4df19f2e8ba1beeabc8ee (patch) | |
tree | b3ff9025089fe7c920121cd3a190df7102f5f5d0 /libffi | |
parent | 8924296aac382b808d89c865a9c4a05ebbf21a0e (diff) | |
download | haskell-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.mk | 3 |
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 \ |