Commit 93494bdb authored by Ian Lynagh's avatar Ian Lynagh
Browse files

Remove a redundant build-system hack

We used to have to explicitly pass -lffi when linking the compiler,
but it's no longer necessary.
parent 78544b76
......@@ -496,17 +496,6 @@ ifneq "$(UseSystemLibFFI)" "YES"
compiler/stage2/build/LibFFI.hs : $(libffi_HEADERS)
# 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)
$(foreach way,$(GhcLibWays),$(eval $(call windowsDynLinkToFfi,$(way))))
# Note [munge-stage1-package-config]
# Strip the date/patchlevel from the version of stage1. See Note
# [fiddle-stage1-version] above.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment