1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-19 19:59:43 +00:00

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:
Ed Maste 2018-09-18 16:59:01 +00:00
parent 2371ee22c7
commit b336e44854
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=480036

View File

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