1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-15 11:29:22 +02:00
openwrt-xburst/toolchain/gcc/patches/4.2.4/100-uclibc-conf.patch
kaloz 54a1da8d7c gcc 4.2.4 support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11310 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-05-31 18:45:07 +00:00

233 lines
6.9 KiB
Diff

Index: gcc-4.2.3/libgomp/configure
===================================================================
--- gcc-4.2.3.orig/libgomp/configure 2008-02-01 18:06:50.000000000 +0100
+++ gcc-4.2.3/libgomp/configure 2008-05-21 13:45:41.641289283 +0200
@@ -3893,7 +3893,7 @@
;;
# This must be Linux ELF.
-linux-gnu*)
+linux*)
lt_cv_deplibs_check_method=pass_all
;;
Index: gcc-4.2.3/gcc/config/cris/linux.h
===================================================================
--- gcc-4.2.3.orig/gcc/config/cris/linux.h 2007-09-01 17:28:30.000000000 +0200
+++ gcc-4.2.3/gcc/config/cris/linux.h 2008-05-21 13:45:41.641289283 +0200
@@ -73,7 +73,11 @@
#define CRIS_DEFAULT_CPU_VERSION CRIS_CPU_NG
#undef CRIS_SUBTARGET_VERSION
-#define CRIS_SUBTARGET_VERSION " - cris-axis-linux-gnu"
+#if UCLIBC_DEFAULT
+# define CRIS_SUBTARGET_VERSION " - cris-axis-linux-uclibc"
+#else
+# define CRIS_SUBTARGET_VERSION " - cris-axis-linux-gnu"
+#endif
#define GLIBC_DYNAMIC_LINKER "/lib/ld.so.1"
Index: gcc-4.2.3/libstdc++-v3/configure
===================================================================
--- gcc-4.2.3.orig/libstdc++-v3/configure 2007-06-29 01:02:05.000000000 +0200
+++ gcc-4.2.3/libstdc++-v3/configure 2008-05-21 13:45:41.725287971 +0200
@@ -4283,7 +4283,7 @@
;;
# This must be Linux ELF.
-linux-gnu*)
+linux*)
lt_cv_deplibs_check_method=pass_all
;;
Index: gcc-4.2.3/zlib/configure
===================================================================
--- gcc-4.2.3.orig/zlib/configure 2007-01-17 19:10:26.000000000 +0100
+++ gcc-4.2.3/zlib/configure 2008-05-21 13:45:41.753288186 +0200
@@ -3429,7 +3429,7 @@
;;
# This must be Linux ELF.
-linux-gnu*)
+linux*)
lt_cv_deplibs_check_method=pass_all
;;
Index: gcc-4.2.3/libobjc/configure
===================================================================
--- gcc-4.2.3.orig/libobjc/configure 2006-10-15 09:42:57.000000000 +0200
+++ gcc-4.2.3/libobjc/configure 2008-05-21 13:45:41.773288499 +0200
@@ -3314,7 +3314,7 @@
;;
# This must be Linux ELF.
-linux-gnu*)
+linux*)
lt_cv_deplibs_check_method=pass_all
;;
Index: gcc-4.2.3/libgfortran/configure
===================================================================
--- gcc-4.2.3.orig/libgfortran/configure 2008-02-01 18:06:49.000000000 +0100
+++ gcc-4.2.3/libgfortran/configure 2008-05-21 13:45:41.789288861 +0200
@@ -3721,7 +3721,7 @@
;;
# This must be Linux ELF.
-linux-gnu*)
+linux*)
lt_cv_deplibs_check_method=pass_all
;;
Index: gcc-4.2.3/libmudflap/configure
===================================================================
--- gcc-4.2.3.orig/libmudflap/configure 2006-12-04 12:13:07.000000000 +0100
+++ gcc-4.2.3/libmudflap/configure 2008-05-21 13:45:41.809288615 +0200
@@ -5394,7 +5394,7 @@
;;
# This must be Linux ELF.
-linux-gnu*)
+linux*)
lt_cv_deplibs_check_method=pass_all
;;
Index: gcc-4.2.3/boehm-gc/configure
===================================================================
--- gcc-4.2.3.orig/boehm-gc/configure 2008-02-01 18:06:49.000000000 +0100
+++ gcc-4.2.3/boehm-gc/configure 2008-05-21 13:45:41.833288320 +0200
@@ -4323,7 +4323,7 @@
;;
# This must be Linux ELF.
-linux-gnu*)
+linux*)
lt_cv_deplibs_check_method=pass_all
;;
Index: gcc-4.2.3/libffi/configure
===================================================================
--- gcc-4.2.3.orig/libffi/configure 2008-02-01 18:06:49.000000000 +0100
+++ gcc-4.2.3/libffi/configure 2008-05-21 13:45:41.869288157 +0200
@@ -3460,7 +3460,7 @@
;;
# This must be Linux ELF.
-linux-gnu*)
+linux*)
lt_cv_deplibs_check_method=pass_all
;;
Index: gcc-4.2.3/libssp/configure
===================================================================
--- gcc-4.2.3.orig/libssp/configure 2006-10-15 09:42:57.000000000 +0200
+++ gcc-4.2.3/libssp/configure 2008-05-21 13:45:41.897286416 +0200
@@ -4480,7 +4480,7 @@
;;
# This must be Linux ELF.
-linux-gnu*)
+linux*)
lt_cv_deplibs_check_method=pass_all
;;
Index: gcc-4.2.3/contrib/regression/objs-gcc.sh
===================================================================
--- gcc-4.2.3.orig/contrib/regression/objs-gcc.sh 2005-08-15 02:41:31.000000000 +0200
+++ gcc-4.2.3/contrib/regression/objs-gcc.sh 2008-05-21 13:45:41.897286416 +0200
@@ -105,6 +105,10 @@
then
make all-gdb all-dejagnu all-ld || exit 1
make install-gdb install-dejagnu install-ld || exit 1
+elif [ $H_REAL_TARGET = $H_REAL_HOST -a $H_REAL_TARGET = i686-pc-linux-uclibc ]
+ then
+ make all-gdb all-dejagnu all-ld || exit 1
+ make install-gdb install-dejagnu install-ld || exit 1
elif [ $H_REAL_TARGET = $H_REAL_HOST ] ; then
make bootstrap || exit 1
make install || exit 1
Index: gcc-4.2.3/libjava/classpath/ltconfig
===================================================================
--- gcc-4.2.3.orig/libjava/classpath/ltconfig 2006-08-07 22:37:50.000000000 +0200
+++ gcc-4.2.3/libjava/classpath/ltconfig 2008-05-21 13:45:41.897286416 +0200
@@ -603,7 +603,7 @@
# Transform linux* to *-*-linux-gnu*, to support old configure scripts.
case $host_os in
-linux-gnu*) ;;
+linux-gnu*|linux-uclibc*) ;;
linux*) host=`echo $host | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'`
esac
@@ -1251,7 +1251,7 @@
;;
# This must be Linux ELF.
-linux-gnu*)
+linux*)
version_type=linux
need_lib_prefix=no
need_version=no
Index: gcc-4.2.3/libjava/classpath/configure
===================================================================
--- gcc-4.2.3.orig/libjava/classpath/configure 2007-01-17 19:10:26.000000000 +0100
+++ gcc-4.2.3/libjava/classpath/configure 2008-05-21 13:45:41.921288635 +0200
@@ -5307,7 +5307,7 @@
;;
# This must be Linux ELF.
-linux-gnu*)
+linux*)
lt_cv_deplibs_check_method=pass_all
;;
Index: gcc-4.2.3/libjava/configure
===================================================================
--- gcc-4.2.3.orig/libjava/configure 2008-02-01 18:06:50.000000000 +0100
+++ gcc-4.2.3/libjava/configure 2008-05-21 13:45:41.933288487 +0200
@@ -5424,7 +5424,7 @@
;;
# This must be Linux ELF.
-linux-gnu*)
+linux*)
lt_cv_deplibs_check_method=pass_all
;;
Index: gcc-4.2.3/libtool.m4
===================================================================
--- gcc-4.2.3.orig/libtool.m4 2005-07-16 04:30:53.000000000 +0200
+++ gcc-4.2.3/libtool.m4 2008-05-21 13:45:41.949288291 +0200
@@ -739,7 +739,7 @@
;;
# This must be Linux ELF.
-linux-gnu*)
+linux*)
lt_cv_deplibs_check_method=pass_all
;;
Index: gcc-4.2.3/ltconfig
===================================================================
--- gcc-4.2.3.orig/ltconfig 2007-02-14 18:08:35.000000000 +0100
+++ gcc-4.2.3/ltconfig 2008-05-21 13:45:41.961288143 +0200
@@ -603,7 +603,7 @@
# Transform linux* to *-*-linux-gnu*, to support old configure scripts.
case $host_os in
-linux-gnu*) ;;
+linux-gnu*|linux-uclibc*) ;;
linux*) host=`echo $host | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'`
esac
@@ -1251,7 +1251,7 @@
;;
# This must be Linux ELF.
-linux-gnu*)
+linux*)
version_type=linux
need_lib_prefix=no
need_version=no