summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorBen Gamari <ben@smart-cactus.org>2020-08-01 11:44:06 -0400
committerBen Gamari <ben@smart-cactus.org>2020-08-03 17:51:43 -0400
commit428320a97084501c6c11f4803219f7a8b4e92a3e (patch)
tree4e89997450e288488cad72779c2cbaf8ef26cfe8 /utils
parentfec2abb8e5cc1522b60400d2172abe141bd0f7ca (diff)
downloadhaskell-428320a97084501c6c11f4803219f7a8b4e92a3e.tar.gz
Revert "iserv: Don't pass --export-dynamic on FreeBSD"
This reverts commit 2290eb02cf95e9cfffcb15fc9c593d5ef79c75d9. (cherry picked from commit f9b7497d30d98a054d4ec5a8df2dfaf4a2b0bb30)
Diffstat (limited to 'utils')
-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