Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Sep 2018 17:45:25 +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: r480045 - head/security/lockdown
Message-ID:  <201809181745.w8IHjPSM059979@repo.freebsd.org>

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



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