aboutsummaryrefslogtreecommitdiffstats
path: root/math
diff options
context:
space:
mode:
authoremaste <emaste@FreeBSD.org>2017-12-27 23:23:24 +0800
committeremaste <emaste@FreeBSD.org>2017-12-27 23:23:24 +0800
commit52b36f7120190ad5cd74aad766c3d1177bad36af (patch)
treea6cb9fe78f1ffb2f33d1f1eaf47c6ac74d3ff735 /math
parent680526f8344e1bac1614ef92183dd46939a80f1c (diff)
downloadfreebsd-ports-graphics-52b36f7120190ad5cd74aad766c3d1177bad36af.tar.gz
freebsd-ports-graphics-52b36f7120190ad5cd74aad766c3d1177bad36af.tar.zst
freebsd-ports-graphics-52b36f7120190ad5cd74aad766c3d1177bad36af.zip
math/p5-Math-Pari: set LLD_UNSAFE to avoid linking with lld
lld defaults to disallowing relocations in readonly segments (e.g., the one containing .text). For now just fall back to linking with ld.bfd if the system ld is lld. PR: 214864 Approved by: portmgr (LLD_UNSAFE blanket) Sponsored by: The FreeBSD Foundation
Diffstat (limited to 'math')
-rw-r--r--math/p5-Math-Pari/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/math/p5-Math-Pari/Makefile b/math/p5-Math-Pari/Makefile
index 2de13344fa6..d74d681fb35 100644
--- a/math/p5-Math-Pari/Makefile
+++ b/math/p5-Math-Pari/Makefile
@@ -18,6 +18,7 @@ LIB_DEPENDS= libgmp.so:math/gmp
USES= perl5
USE_PERL5= configure
+LLD_UNSAFE= yes # lld defaults to -ztext
PARI_WRKSRC= ${WRKDIR}/pari-2.3.5