summaryrefslogtreecommitdiff
path: root/packages/gcc/11.1.0/0000-libtool-leave-framework-alone.patch
diff options
context:
space:
mode:
authorChris Packham <judge.packham@gmail.com>2021-05-11 07:45:52 (GMT)
committerGitHub <noreply@github.com>2021-05-11 07:45:52 (GMT)
commitbbb0db2880d5e7600e176fc8025f0add9ef85eb9 (patch)
treefb1a027c4bf1c90aee2656a41dcd61676bd9e660 /packages/gcc/11.1.0/0000-libtool-leave-framework-alone.patch
parent0528a9d744cc95aac3df40d5a1666f0a1051cf5d (diff)
parent0cf01b55a6424f0b02b9ac7305b8c067a31c72e9 (diff)
Merge pull request #1501 from nikkon-dev/nikkon-dev/gcc11
Initial commit for gcc11
Diffstat (limited to 'packages/gcc/11.1.0/0000-libtool-leave-framework-alone.patch')
-rw-r--r--packages/gcc/11.1.0/0000-libtool-leave-framework-alone.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/packages/gcc/11.1.0/0000-libtool-leave-framework-alone.patch b/packages/gcc/11.1.0/0000-libtool-leave-framework-alone.patch
new file mode 100644
index 0000000..b5804ea
--- /dev/null
+++ b/packages/gcc/11.1.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