summaryrefslogtreecommitdiff
path: root/patches/gcc/6.3.0/1000-libtool-leave-framework-alone.patch
diff options
context:
space:
mode:
authorAlexey Neyman <stilor@att.net>2016-12-20 19:49:17 (GMT)
committerAlexey Neyman <stilor@att.net>2017-01-10 18:39:28 (GMT)
commitf14c2900789ec3edcdeca42170375deee5d81438 (patch)
tree4e01efbf173160d3f65467fe0d5d216018f3e842 /patches/gcc/6.3.0/1000-libtool-leave-framework-alone.patch
parent36bbcf4b4f26e414438d7535b111b5a1159ebb22 (diff)
Patch GCC to leave -framework alone.
Signed-off-by: Alexey Neyman <stilor@att.net>
Diffstat (limited to 'patches/gcc/6.3.0/1000-libtool-leave-framework-alone.patch')
-rw-r--r--patches/gcc/6.3.0/1000-libtool-leave-framework-alone.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/patches/gcc/6.3.0/1000-libtool-leave-framework-alone.patch b/patches/gcc/6.3.0/1000-libtool-leave-framework-alone.patch
new file mode 100644
index 0000000..bce09eb
--- /dev/null
+++ b/patches/gcc/6.3.0/1000-libtool-leave-framework-alone.patch
@@ -0,0 +1,14 @@
+--- gcc-6.2.0/libtool-ldflags 2016-12-20 11:13:12.669668125 -0800
++++ gcc-6.2.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