crosstool-ng/packages/gcc/4.8.5/1000-libtool-leave-framework-alone.patch
Alexey Neyman 5935d586e1 Convert gcc to new framework.
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-07-08 10:56:29 -07:00

15 lines
491 B
Diff

--- 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