svn commit: r480036 - head/math/z3
Ed Maste
emaste at FreeBSD.org
Tue Sep 18 16:59:02 UTC 2018
Author: emaste (src committer)
Date: Tue Sep 18 16:59:01 2018
New Revision: 480036
URL: https://svnweb.freebsd.org/changeset/ports/480036
Log:
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
Modified:
head/math/z3/Makefile
Modified: head/math/z3/Makefile
==============================================================================
--- head/math/z3/Makefile Tue Sep 18 16:08:00 2018 (r480035)
+++ head/math/z3/Makefile Tue Sep 18 16:59:01 2018 (r480036)
@@ -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
More information about the svn-ports-head
mailing list