[Buildroot] [git commit] openswan: re-add -fPIE flag

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Wed Mar 4 22:04:29 UTC 2015


commit: http://git.buildroot.net/buildroot/commit/?id=9d0c45094118d1c238b389c5d6dc9a1a901bc575
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master

This flag was mistakenly removed in unrelated commit
5287358ff33ec4920a677a58152ad040151b843f.

Reported-by: Waldemar Brodkorb <wbx at openadk.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>
---
 package/openswan/openswan.mk |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/package/openswan/openswan.mk b/package/openswan/openswan.mk
index 3c878c9..ba36f7c 100644
--- a/package/openswan/openswan.mk
+++ b/package/openswan/openswan.mk
@@ -11,7 +11,7 @@ OPENSWAN_LICENSE_FILES = COPYING LICENSE
 
 OPENSWAN_DEPENDENCIES = host-bison host-flex gmp iproute2
 OPENSWAN_MAKE_OPTS = ARCH=$(BR2_ARCH) CC="$(TARGET_CC)" \
-	USERCOMPILE="$(TARGET_CFLAGS)" INC_USRLOCAL=/usr \
+	USERCOMPILE="$(TARGET_CFLAGS) -fPIE" INC_USRLOCAL=/usr \
 	USE_KLIPS=false USE_MAST=false USE_NM=false
 
 ifeq ($(BR2_PACKAGE_LIBCURL),y)


More information about the buildroot mailing list