openswan: re-add -fPIE flag
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Wed, 4 Mar 2015 22:03:48 +0000 (23:03 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Wed, 4 Mar 2015 22:04:29 +0000 (23:04 +0100)
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>
package/openswan/openswan.mk

index 3c878c9c465a0e1491af108493eef40ccbf103bd..ba36f7cb1fa8540848d7d20d0ecdc157f260b3dc 100644 (file)
@@ -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)