summaryrefslogtreecommitdiff
path: root/packages/gcc
diff options
context:
space:
mode:
authorspaun2002 <spaun2002mobile@gmail.com>2021-04-29 01:14:57 (GMT)
committerspaun2002 <spaun2002mobile@gmail.com>2021-05-05 08:15:07 (GMT)
commit37c61914ce16e5a9b175d493719b7f986bd00a84 (patch)
treef5137acc8de98310f9eb1328db4f7bc5d0953cb0 /packages/gcc
parentc4efcd7eaa5d7ba64b80dad06fe496de72ca8b96 (diff)
Pull patch for macOS from GCC 10.3.0 package.
This should fix linkage error on MacOS. Signed-off-by: Nik Konyuchenko <spaun2002mobile@gmail.com>
Diffstat (limited to 'packages/gcc')
-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