summaryrefslogtreecommitdiff
path: root/packages/gcc/11.2.0/0000-libtool-leave-framework-alone.patch
diff options
context:
space:
mode:
authorgraysky <graysky@archlinux.us>2021-07-28 18:30:56 (GMT)
committergraysky <graysky@archlinux.us>2021-07-28 18:53:00 (GMT)
commit329c45eb5817c52ac2e4f18d8caee14e0a897d10 (patch)
tree4a7796e16f5d251b272019ddeae8f375d7dc7222 /packages/gcc/11.2.0/0000-libtool-leave-framework-alone.patch
parent283142c032c60c11ba0a9ec8c355a0d9138c6814 (diff)
gcc: bump to 11.2
Signed-off-by: John Audia <graysky@archlinux.us>
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