math/z3: add -znotext to LDFLAGS on i386, for lld
This port links some non-PIC code, which fails with lld as it defaults to disallowing relocations against read-only segments. For i386 we can just add -znotext unconditionally: for GNU BFD ld it just affirms BFD's existing default. PR: 214864 Approved by: portmgr (lld blanket) Sponsored by: The FreeBSD Foundation
This commit is contained in:
parent
2371ee22c7
commit
b336e44854
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=480036
1 changed files with 1 additions and 0 deletions
|
@ -35,6 +35,7 @@ GMP_LIB_DEPENDS= libgmp.so:math/gmp
|
|||
HAS_CONFIGURE= yes
|
||||
CONFIGURE_ARGS= --prefix=${PREFIX}
|
||||
USE_LDCONFIG= yes
|
||||
LDFLAGS_i386= -Wl,-znotext
|
||||
BUILD_WRKSRC= ${WRKSRC}/build
|
||||
INSTALL_WRKSRC= ${WRKSRC}/build
|
||||
|
||||
|
|
Loading…
Reference in a new issue