diff options
Diffstat (limited to 'package/strongswan')
-rw-r--r-- | package/strongswan/Makefile | 2 | ||||
-rw-r--r-- | package/strongswan/patches/patch-ltmain_sh | 11 |
2 files changed, 12 insertions, 1 deletions
diff --git a/package/strongswan/Makefile b/package/strongswan/Makefile index 6f7f117fe..19d552f85 100644 --- a/package/strongswan/Makefile +++ b/package/strongswan/Makefile @@ -18,7 +18,7 @@ PKG_DEPENDS+= kmod-crypto-hmac kmod-crypto-cbc kmod-crypto-authenc PKG_URL:= http://strongswan.org/index.htm PKG_SITES:= http://download.strongswan.org/ -PKG_CHOICES:= WITH_GMP WITH_OPENSSL WITH_GNUTLS +PKG_CHOICES_STRONGSWAN:=WITH_GMP WITH_OPENSSL WITH_GNUTLS PKGCD_WITH_GMP:= use GMP for crypto PKGCS_WITH_GMP:= libgmp PKGCB_WITH_GMP:= gmp diff --git a/package/strongswan/patches/patch-ltmain_sh b/package/strongswan/patches/patch-ltmain_sh new file mode 100644 index 000000000..826fc7cbc --- /dev/null +++ b/package/strongswan/patches/patch-ltmain_sh @@ -0,0 +1,11 @@ +--- strongswan-4.5.0.orig/ltmain.sh 2010-01-06 11:19:45.000000000 +0100 ++++ strongswan-4.5.0/ltmain.sh 2011-01-17 15:14:37.000000000 +0100 +@@ -4765,7 +4765,7 @@ func_mode_link () + # -p, -pg, --coverage, -fprofile-* pass through profiling flag for GCC + # @file GCC response files + -64|-mips[0-9]|-r[0-9][0-9]*|-xarch=*|-xtarget=*|+DA*|+DD*|-q*|-m*| \ +- -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*) ++ -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*|-fstack-protector*|-flto) + func_quote_for_eval "$arg" + arg="$func_quote_for_eval_result" + func_append compile_command " $arg" |