summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Gamari <ben@smart-cactus.org>2020-08-01 11:44:06 -0400
committerMarge Bot <ben+marge-bot@smart-cactus.org>2020-08-05 04:00:39 -0400
commit2bff2f87e43985e02bdde8c6fa39279df86cb617 (patch)
treef2bf32c8d4ad673f73fc1bca26907316f10c1b6c
parent5e12cd1733b581f48a5873b12971b6974778eabb (diff)
downloadhaskell-2bff2f87e43985e02bdde8c6fa39279df86cb617.tar.gz
Revert "iserv: Don't pass --export-dynamic on FreeBSD"
This reverts commit 2290eb02cf95e9cfffcb15fc9c593d5ef79c75d9.
-rw-r--r--utils/iserv/ghc.mk3
1 files changed, 1 insertions, 2 deletions
diff --git a/utils/iserv/ghc.mk b/utils/iserv/ghc.mk
index b6a50e4ce1..74f90e60b7 100644
--- a/utils/iserv/ghc.mk
+++ b/utils/iserv/ghc.mk
@@ -30,9 +30,8 @@ endif
# refer to the RTS. This is harmless if you don't use it (adds a bit
# of overhead to startup and increases the binary sizes) but if you
# need it there's no alternative.
-# Don't do this on FreeBSD to work around #17962.
ifeq "$(TargetElf)" "YES"
-ifeq "$(findstring $(TargetOS_CPP), solaris2 freebsd)" ""
+ifneq "$(TargetOS_CPP)" "solaris2"
# The Solaris linker does not support --export-dynamic option. It also
# does not need it since it exports all dynamic symbols by default
utils/iserv_stage2_MORE_HC_OPTS += -optl-Wl,--export-dynamic