summaryrefslogtreecommitdiff
path: root/package/cyrus-sasl/patches/patch-config_ltmain_sh
diff options
context:
space:
mode:
Diffstat (limited to 'package/cyrus-sasl/patches/patch-config_ltmain_sh')
-rw-r--r--package/cyrus-sasl/patches/patch-config_ltmain_sh14
1 files changed, 14 insertions, 0 deletions
diff --git a/package/cyrus-sasl/patches/patch-config_ltmain_sh b/package/cyrus-sasl/patches/patch-config_ltmain_sh
new file mode 100644
index 000000000..01b5a992c
--- /dev/null
+++ b/package/cyrus-sasl/patches/patch-config_ltmain_sh
@@ -0,0 +1,14 @@
+--- cyrus-sasl-2.1.23.orig/config/ltmain.sh 2003-07-02 15:29:00.000000000 +0200
++++ cyrus-sasl-2.1.23/config/ltmain.sh 2011-03-30 21:20:59.111809629 +0200
+@@ -1081,6 +1081,11 @@ compiler."
+ esac
+ ;;
+
++ -fstack-protector*|-flto*)
++ linkopts="$linkopts $arg"
++ continue
++ ;;
++
+ -l*)
+ if test "$arg" = "-lc"; then
+ case "$host" in