diff options
author | Ian Lynagh <igloo@earth.li> | 2013-04-06 18:59:42 +0100 |
---|---|---|
committer | Ian Lynagh <igloo@earth.li> | 2013-04-06 18:59:42 +0100 |
commit | 93494bdb36fb6cdb910d9600b5512c185db33583 (patch) | |
tree | b2aac93eba045ea50651ca3fdfc4fc97f20d2bd1 /compiler | |
parent | 78544b76f2596fb6137a6d70858fe50e93b49a7d (diff) | |
download | haskell-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')
-rw-r--r-- | compiler/ghc.mk | 11 |
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. |