summaryrefslogtreecommitdiff
path: root/compiler/ghc.mk
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2013-04-06 18:59:42 +0100
committerIan Lynagh <igloo@earth.li>2013-04-06 18:59:42 +0100
commit93494bdb36fb6cdb910d9600b5512c185db33583 (patch)
treeb2aac93eba045ea50651ca3fdfc4fc97f20d2bd1 /compiler/ghc.mk
parent78544b76f2596fb6137a6d70858fe50e93b49a7d (diff)
downloadhaskell-93494bdb36fb6cdb910d9600b5512c185db33583.tar.gz
Remove a redundant build-system hack
We used to have to explicitly pass -lffi when linking the compiler, but it's no longer necessary.
Diffstat (limited to 'compiler/ghc.mk')
-rw-r--r--compiler/ghc.mk11
1 files changed, 0 insertions, 11 deletions
diff --git a/compiler/ghc.mk b/compiler/ghc.mk
index 353117c486..74bea9a5d8 100644
--- a/compiler/ghc.mk
+++ b/compiler/ghc.mk
@@ -496,17 +496,6 @@ ifneq "$(UseSystemLibFFI)" "YES"
compiler/stage2/build/LibFFI.hs : $(libffi_HEADERS)
endif
-# On Windows it seems we also need to link directly to libffi
-ifeq "$(HostOS_CPP)" "mingw32"
-define windowsDynLinkToFfi
-# $1 = way
-ifneq "$$(findstring dyn, $1)" ""
-compiler_stage2_$1_ALL_HC_OPTS += -l$$(LIBFFI_WINDOWS_LIB)
-endif
-endef
-$(foreach way,$(GhcLibWays),$(eval $(call windowsDynLinkToFfi,$(way))))
-endif
-
# Note [munge-stage1-package-config]
# Strip the date/patchlevel from the version of stage1. See Note
# [fiddle-stage1-version] above.