summaryrefslogtreecommitdiff
path: root/package/id3lib/patches/patch-ltmain_sh
blob: 32b0e7b55182ab13acd788f05b1f5c6a1f77a971 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
--- id3lib-3.8.3.orig/ltmain.sh	2003-03-02 01:23:00.000000000 +0100
+++ id3lib-3.8.3/ltmain.sh	2011-01-15 19:06:56.000000000 +0100
@@ -1065,6 +1065,19 @@ compiler."
 	continue
 	;;
 
+      -fstack-protector*|-flto)
+	arg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"`
+	case $arg in
+        *$quote_scanset* | *]* | *\|* | *\&* | *\(* | *\)* | "")
+          arg="\"$arg\""
+          ;;
+        esac
+        compile_command="$compile_command $arg"
+        finalize_command="$finalize_command $arg"
+        compiler_flags="$compiler_flags $arg"
+        continue
+        ;;
+
       -no-fast-install)
 	fast_install=no
 	continue