summaryrefslogtreecommitdiff
path: root/sources/binutils-uclibc-200-build_modules.patch
diff options
context:
space:
mode:
authorManuel Novoa III <mjn3@codepoet.org>2004-03-01 06:28:02 +0000
committerManuel Novoa III <mjn3@codepoet.org>2004-03-01 06:28:02 +0000
commit93703bf40fa3797317ea73018101e53e85397a9b (patch)
treedcc7c7ffd7b9a21dc2d6304958ddfdf432d280d0 /sources/binutils-uclibc-200-build_modules.patch
parent156c36d9b42f783c60f090bbf3704c35d8fefaaa (diff)
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.
Diffstat (limited to 'sources/binutils-uclibc-200-build_modules.patch')
-rw-r--r--sources/binutils-uclibc-200-build_modules.patch31
1 files changed, 31 insertions, 0 deletions
diff --git a/sources/binutils-uclibc-200-build_modules.patch b/sources/binutils-uclibc-200-build_modules.patch
new file mode 100644
index 000000000..e9f8e75a8
--- /dev/null
+++ b/sources/binutils-uclibc-200-build_modules.patch
@@ -0,0 +1,31 @@
+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"