svn commit: r480045 - head/security/lockdown

Ed Maste emaste at FreeBSD.org
Tue Sep 18 17:45:26 UTC 2018


Author: emaste (src committer)
Date: Tue Sep 18 17:45:25 2018
New Revision: 480045
URL: https://svnweb.freebsd.org/changeset/ports/480045

Log:
  security/lockdown: add -fPIC on i386, to allow linking with lld
  
  By default lld does not allow non-PIC code where PIC is required.
  Other architectures already apply -fPIC; do so for i386 as well.
  
  Approved by:	portmgr (lld blanket)
  Sponsored by:	The FreeBSD Foundation

Modified:
  head/security/lockdown/Makefile

Modified: head/security/lockdown/Makefile
==============================================================================
--- head/security/lockdown/Makefile	Tue Sep 18 17:41:25 2018	(r480044)
+++ head/security/lockdown/Makefile	Tue Sep 18 17:45:25 2018	(r480045)
@@ -16,6 +16,7 @@ WRKSRC=		${WRKDIR}/lockdown
 
 CFLAGS_aarch64+=-fPIC
 CFLAGS_amd64+=	-fPIC
+CFLAGS_i386+=	-fPIC
 
 do-install:
 	${INSTALL_LIB} ${WRKSRC}/cppe/src/libcppe.so ${STAGEDIR}${PREFIX}/lib


More information about the svn-ports-head mailing list