From a72780a9c25eeff46319d6be1bc33e515deb703c Mon Sep 17 00:00:00 2001 From: Philip Prindeville Date: Wed, 24 Feb 2021 14:46:33 -0700 Subject: [PATCH] strongswan: force PIC on all builds Signed-off-by: Philip Prindeville --- net/strongswan/Makefile | 2 +- net/strongswan/patches/305-minimal_dh_plugin.patch | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/net/strongswan/Makefile b/net/strongswan/Makefile index 7b8e215b73..64c92ea7dd 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 dcd244885a..59af4f4054 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 -- 2.30.2