diff options
author | Ed Maste <emaste@FreeBSD.org> | 2018-09-18 16:59:01 +0000 |
---|---|---|
committer | Ed Maste <emaste@FreeBSD.org> | 2018-09-18 16:59:01 +0000 |
commit | b336e448543273069439cd5db328faa41cc2aab0 (patch) | |
tree | b931321bedf4384bc5c1a975ea2b89bda916afd5 /math/z3 | |
parent | lang/php*: link with -znotext on i386 (diff) |
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
Diffstat (limited to 'math/z3')
-rw-r--r-- | math/z3/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/math/z3/Makefile b/math/z3/Makefile index 48a97ff18401..409d42e86f9b 100644 --- a/math/z3/Makefile +++ b/math/z3/Makefile @@ -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 |