summaryrefslogtreecommitdiff
path: root/packages/gcc-linaro/7.4-2019.02/0000-libtool-leave-framework-alone.patch
diff options
context:
space:
mode:
Diffstat (limited to 'packages/gcc-linaro/7.4-2019.02/0000-libtool-leave-framework-alone.patch')
-rw-r--r--packages/gcc-linaro/7.4-2019.02/0000-libtool-leave-framework-alone.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/packages/gcc-linaro/7.4-2019.02/0000-libtool-leave-framework-alone.patch b/packages/gcc-linaro/7.4-2019.02/0000-libtool-leave-framework-alone.patch
new file mode 100644
index 0000000..1a86e41
--- /dev/null
+++ b/packages/gcc-linaro/7.4-2019.02/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 @@
+ 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