Date: Sun, 16 Aug 2020 14:22:05 +0000 (UTC) From: Gleb Popov <arrowd@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r545120 - head/lang/ghc/files Message-ID: <202008161422.07GEM5P4029462@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: arrowd Date: Sun Aug 16 14:22:04 2020 New Revision: 545120 URL: https://svnweb.freebsd.org/changeset/ports/545120 Log: lang/ghc: Add a workaround patch to fix build with LLD 10 (12-STABLE and 13-CURRENT) Reported by: David Wolfskill <david@catwhisker.org> Added: head/lang/ghc/files/patch-utils_iserv_ghc.mk (contents, props changed) Added: head/lang/ghc/files/patch-utils_iserv_ghc.mk ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/lang/ghc/files/patch-utils_iserv_ghc.mk Sun Aug 16 14:22:04 2020 (r545120) @@ -0,0 +1,11 @@ +--- utils/iserv/ghc.mk.orig 2019-11-23 20:27:35 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202008161422.07GEM5P4029462>