summaryrefslogtreecommitdiff
path: root/libffi/ghc.mk
diff options
context:
space:
mode:
Diffstat (limited to 'libffi/ghc.mk')
-rw-r--r--libffi/ghc.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/libffi/ghc.mk b/libffi/ghc.mk
index 46400ab43e..f7caeda782 100644
--- a/libffi/ghc.mk
+++ b/libffi/ghc.mk
@@ -116,7 +116,7 @@ $(libffi_STAMP_CONFIGURE):
cd build && \
CC=$(CC_STAGE1) \
LD=$(LD) \
- AR=$(AR) \
+ AR=$(AR_STAGE1) \
NM=$(NM) \
CFLAGS="$(SRC_CC_OPTS) $(CONF_CC_OPTS_STAGE1) -w" \
LDFLAGS="$(SRC_LD_OPTS) $(CONF_GCC_LINKER_OPTS_STAGE1) -w" \