Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Sep 2018 16:59:02 +0000 (UTC)
From:      Ed Maste <emaste@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r480036 - head/math/z3
Message-ID:  <201809181659.w8IGx2fx033490@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201809181659.w8IGx2fx033490>