summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 \