From 37c61914ce16e5a9b175d493719b7f986bd00a84 Mon Sep 17 00:00:00 2001 From: spaun2002 Date: Wed, 28 Apr 2021 18:14:57 -0700 Subject: Pull patch for macOS from GCC 10.3.0 package. This should fix linkage error on MacOS. Signed-off-by: Nik Konyuchenko 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 -- cgit v0.10.2-6-g49f6