summaryrefslogtreecommitdiff
path: root/patches/gcc/linaro-5.4-2017.01/1000-libtool-leave-framework-alone.patch
blob: 0f4912a852052a115694375dcb19bc44f6d52cf6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--- gcc-5.4.0/libtool-ldflags	2016-12-20 11:13:12.669668125 -0800
+++ gcc-5.4.0/libtool-ldflags	2016-12-20 11:28:34.894826286 -0800
@@ -36,6 +36,11 @@
 for arg
 do
     case $arg in
+	-framework)
+	    # libtool handles this option. It should not be prefixed with
+	    # -Xcompiler, as that would split it from the argument that
+	    # follows.
+	    ;;
 	-f*|--*|-static-lib*|-shared-lib*|-B*)
 	    # Libtool does not ascribe any special meaning options
 	    # that begin with -f or with a double-dash.  So, it will