From: Philip Prindeville Date: Wed, 24 Feb 2021 21:46:33 +0000 (-0700) Subject: strongswan: force PIC on all builds X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=a72780a9c25eeff46319d6be1bc33e515deb703c;p=openwrt-packages.git strongswan: force PIC on all builds Signed-off-by: Philip Prindeville --- diff --git a/net/strongswan/Makefile b/net/strongswan/Makefile index 7b8e215b7..64c92ea7d 100644 --- a/net/strongswan/Makefile +++ b/net/strongswan/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=strongswan PKG_VERSION:=5.9.1 -PKG_RELEASE:=8 +PKG_RELEASE:=9 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 PKG_SOURCE_URL:=https://download.strongswan.org/ https://download2.strongswan.org/ diff --git a/net/strongswan/patches/305-minimal_dh_plugin.patch b/net/strongswan/patches/305-minimal_dh_plugin.patch index dcd244885..59af4f405 100644 --- a/net/strongswan/patches/305-minimal_dh_plugin.patch +++ b/net/strongswan/patches/305-minimal_dh_plugin.patch @@ -68,7 +68,7 @@ + ../gmp/gmp_diffie_hellman.c ../gmp/gmp_diffie_hellman.h + + -+libstrongswan_gmpdh_la_LDFLAGS = -module -avoid-version -Wl,-Bstatic -Wl,-lgmp -Wl,-Bdynamic -Wl,--as-needed ++libstrongswan_gmpdh_la_LDFLAGS = -module -avoid-version -Wl,-Bstatic -Wl,-lgmp -Wl,-Bdynamic -Wl,--as-needed $(FPIC) +libstrongswan_gmpdh_la_LIBADD = --- /dev/null +++ b/src/libstrongswan/plugins/gmpdh/gmpdh_plugin.c