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 3ff7d88b1c..6dfef8ff3b 100644
--- a/libffi/ghc.mk
+++ b/libffi/ghc.mk
@@ -119,7 +119,7 @@ $(libffi_STAMP_CONFIGURE):
AR=$(AR) \
NM=$(NM) \
CFLAGS="$(SRC_CC_OPTS) $(CONF_CC_OPTS_STAGE1) -w" \
- LDFLAGS="$(SRC_LD_OPTS) $(CONF_LD_OPTS_STAGE1) -w" \
+ LDFLAGS="$(SRC_LD_OPTS) $(CONF_GCC_LINKER_OPTS_STAGE1) -w" \
"$(SHELL)" configure \
--enable-static=yes \
--enable-shared=$(libffi_EnableShared) \