blob: ef26bfc38df337555ebe5fe8900e0c03d6c1ffdf (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
--- utils/iserv/ghc.mk.orig 2020-03-23 22:25:01 UTC
+++ utils/iserv/ghc.mk
@@ -31,7 +31,7 @@ endif
# of overhead to startup and increases the binary sizes) but if you
# need it there's no alternative.
ifeq "$(TargetElf)" "YES"
-ifneq "$(TargetOS_CPP)" "solaris2"
+ifeq "$(findstring $(TargetOS_CPP), solaris2 freebsd)" ""
# 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
|