summaryrefslogtreecommitdiff
path: root/libffi
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2011-01-24 23:31:21 +0000
committerIan Lynagh <igloo@earth.li>2011-01-24 23:31:21 +0000
commit001b9a4d8b5e3f120c419c6f6fa3dd67b1d6cd9e (patch)
tree303f900a56d5f00b6e4eaba44a75a49796905813 /libffi
parent77b29b5685db2f8745d191af1599ed753bef91e7 (diff)
downloadhaskell-001b9a4d8b5e3f120c419c6f6fa3dd67b1d6cd9e.tar.gz
Keep separate linker flags, for when we want to link with gcc or ld
Diffstat (limited to 'libffi')
-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) \