strongswan: force PIC on all builds

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
(cherry picked from commit a72780a9c2)
This commit is contained in:
Philip Prindeville 2021-02-24 14:46:33 -07:00 committed by Rosen Penev
parent 57836bb7d0
commit 11e289b48b
2 changed files with 2 additions and 2 deletions

View file

@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=strongswan PKG_NAME:=strongswan
PKG_VERSION:=5.9.1 PKG_VERSION:=5.9.1
PKG_RELEASE:=8 PKG_RELEASE:=9
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
PKG_SOURCE_URL:=https://download.strongswan.org/ https://download2.strongswan.org/ PKG_SOURCE_URL:=https://download.strongswan.org/ https://download2.strongswan.org/

View file

@ -68,7 +68,7 @@
+ ../gmp/gmp_diffie_hellman.c ../gmp/gmp_diffie_hellman.h + ../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 = +libstrongswan_gmpdh_la_LIBADD =
--- /dev/null --- /dev/null
+++ b/src/libstrongswan/plugins/gmpdh/gmpdh_plugin.c +++ b/src/libstrongswan/plugins/gmpdh/gmpdh_plugin.c