mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2025-04-10 12:49:55 +00:00
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>
This commit is contained in:
parent
c4efcd7eaa
commit
37c61914ce
18
packages/gcc/11.1.0/0000-libtool-leave-framework-alone.patch
vendored
Normal file
18
packages/gcc/11.1.0/0000-libtool-leave-framework-alone.patch
vendored
Normal file
@ -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
|
Loading…
x
Reference in New Issue
Block a user