kumquat-buildroot/sources/binutils-uclibc-200-build_modules.patch
Manuel Novoa III 93703bf40f Revert back to binutils .6 since .8 broke things on arm.
Also, explicitly set the CFLAGS for the build system since otherwise
the TARGET_OPTIMIZATION flags were used.  This was tripping up a mipsel
build where it tried to use -mips2 when building for i386.
2004-03-01 06:28:02 +00:00

32 lines
939 B
Diff

Get around an odd build failure.
diff -urN binutils-2.14.90.0.6/configure binutils-2.14.90.0.6-uClibc/configure
--- binutils-2.14.90.0.6/configure 2003-08-21 10:29:32.000000000 -0500
+++ binutils-2.14.90.0.6-uClibc/configure 2004-01-07 05:43:40.000000000 -0600
@@ -906,6 +906,11 @@
fi
+case "$target" in
+ *-*-*-uclibc*)
+ build_modules=
+ ;;
+esac
################################################################################
srcname="gnu development package"
diff -urN binutils-2.14.90.0.6/configure.in binutils-2.14.90.0.6-uClibc/configure.in
--- binutils-2.14.90.0.6/configure.in 2003-08-21 10:29:30.000000000 -0500
+++ binutils-2.14.90.0.6-uClibc/configure.in 2004-01-07 05:44:02.000000000 -0600
@@ -178,6 +178,11 @@
fi
+case "$target" in
+ *-*-*-uclibc*)
+ build_modules=
+ ;;
+esac
################################################################################
srcname="gnu development package"