summaryrefslogtreecommitdiff
path: root/packages/gcc/11.2.0/0000-libtool-leave-framework-alone.patch
diff options
context:
space:
mode:
authorChris Packham <judge.packham@gmail.com>2021-07-29 08:07:58 (GMT)
committerGitHub <noreply@github.com>2021-07-29 08:07:58 (GMT)
commitcd275bc38c414fb1c3f0812f1d7e2d6648c2e0db (patch)
tree4a7796e16f5d251b272019ddeae8f375d7dc7222 /packages/gcc/11.2.0/0000-libtool-leave-framework-alone.patch
parent283142c032c60c11ba0a9ec8c355a0d9138c6814 (diff)
parent329c45eb5817c52ac2e4f18d8caee14e0a897d10 (diff)
Merge pull request #1567 from graysky2/11.2
gcc: bump to 11.2
Diffstat (limited to 'packages/gcc/11.2.0/0000-libtool-leave-framework-alone.patch')
-rw-r--r--packages/gcc/11.2.0/0000-libtool-leave-framework-alone.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/packages/gcc/11.2.0/0000-libtool-leave-framework-alone.patch b/packages/gcc/11.2.0/0000-libtool-leave-framework-alone.patch
new file mode 100644
index 0000000..b5804ea
--- /dev/null
+++ b/packages/gcc/11.2.0/0000-libtool-leave-framework-alone.patch
@@ -0,0 +1,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