summaryrefslogtreecommitdiff
path: root/packages/gcc/10.3.0/0000-libtool-leave-framework-alone.patch
blob: b5804ea1b1a663c6c7d2a3604b910dc96ac31976 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
---
 libtool-ldflags |    5 +++++
 1 file changed, 5 insertions(+)

--- a/libtool-ldflags
+++ b/libtool-ldflags
@@ -36,6 +36,11 @@ prev_arg=
 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