summaryrefslogtreecommitdiffstats
path: root/package/openswan
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2015-03-04 23:03:48 +0100
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2015-03-04 23:04:29 +0100
commit9d0c45094118d1c238b389c5d6dc9a1a901bc575 (patch)
tree2e11c31ef652f2edfec43b8bf6a7574d5ceb6785 /package/openswan
parent52ceb700ff8ca41fbf2f6db7ec5fafb34888f64d (diff)
downloadbuildroot-9d0c45094118d1c238b389c5d6dc9a1a901bc575.tar.gz
buildroot-9d0c45094118d1c238b389c5d6dc9a1a901bc575.zip
openswan: re-add -fPIE flag
This flag was mistakenly removed in unrelated commit 5287358ff33ec4920a677a58152ad040151b843f. Reported-by: Waldemar Brodkorb <wbx@openadk.org> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/openswan')
-rw-r--r--package/openswan/openswan.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/openswan/openswan.mk b/package/openswan/openswan.mk
index 3c878c9c46..ba36f7cb1f 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)
OpenPOWER on IntegriCloud