svn commit: r545120 - head/lang/ghc/files

Gleb Popov arrowd at FreeBSD.org
Sun Aug 16 14:22:05 UTC 2020


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 at 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


More information about the svn-ports-head mailing list