mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2025-01-18 18:56:31 +00:00
Patch GCC to leave -framework alone.
Signed-off-by: Alexey Neyman <stilor@att.net>
This commit is contained in:
parent
36bbcf4b4f
commit
f14c290078
14
patches/gcc/4.8.5/1000-libtool-leave-framework-alone.patch
Normal file
14
patches/gcc/4.8.5/1000-libtool-leave-framework-alone.patch
Normal file
@ -0,0 +1,14 @@
|
||||
--- gcc-4.9.4/libtool-ldflags 2016-12-20 11:13:12.669668125 -0800
|
||||
+++ gcc-4.9.4/libtool-ldflags 2016-12-20 11:28:34.894826286 -0800
|
||||
@@ -36,6 +36,11 @@
|
||||
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*|--*)
|
||||
# Libtool does not ascribe any special meaning options
|
||||
# that begin with -f or with a double-dash. So, it will
|
14
patches/gcc/4.9.4/1000-libtool-leave-framework-alone.patch
Normal file
14
patches/gcc/4.9.4/1000-libtool-leave-framework-alone.patch
Normal file
@ -0,0 +1,14 @@
|
||||
--- gcc-4.9.4/libtool-ldflags 2016-12-20 11:13:12.669668125 -0800
|
||||
+++ gcc-4.9.4/libtool-ldflags 2016-12-20 11:28:34.894826286 -0800
|
||||
@@ -36,6 +36,11 @@
|
||||
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*|--*)
|
||||
# Libtool does not ascribe any special meaning options
|
||||
# that begin with -f or with a double-dash. So, it will
|
14
patches/gcc/5.4.0/1000-libtool-leave-framework-alone.patch
Normal file
14
patches/gcc/5.4.0/1000-libtool-leave-framework-alone.patch
Normal file
@ -0,0 +1,14 @@
|
||||
--- gcc-5.4.0/libtool-ldflags 2016-12-20 11:13:12.669668125 -0800
|
||||
+++ gcc-5.4.0/libtool-ldflags 2016-12-20 11:28:34.894826286 -0800
|
||||
@@ -36,6 +36,11 @@
|
||||
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
|
14
patches/gcc/6.3.0/1000-libtool-leave-framework-alone.patch
Normal file
14
patches/gcc/6.3.0/1000-libtool-leave-framework-alone.patch
Normal file
@ -0,0 +1,14 @@
|
||||
--- gcc-6.2.0/libtool-ldflags 2016-12-20 11:13:12.669668125 -0800
|
||||
+++ gcc-6.2.0/libtool-ldflags 2016-12-20 11:28:34.894826286 -0800
|
||||
@@ -36,6 +36,11 @@
|
||||
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…
Reference in New Issue
Block a user