[cris] add a fix preventing gcc build system from assuming that libc headers are...
[openwrt/svn-archive/archive.git] / toolchain / gcc / patches / 4.1.2 / 120-cris-do_not_overide_limits_h_test.patch
1 diff -ruN gcc-4.1.2.orig/gcc/config/cris/t-linux gcc-4.1.2/gcc/config/cris/t-linux
2 --- gcc-4.1.2.orig/gcc/config/cris/t-linux 2005-10-12 21:40:28.000000000 +0200
3 +++ gcc-4.1.2/gcc/config/cris/t-linux 2009-01-12 14:52:34.669331678 +0100
4 @@ -1,6 +1,2 @@
5 TARGET_LIBGCC2_CFLAGS += -fPIC
6 CRTSTUFF_T_CFLAGS_S = $(TARGET_LIBGCC2_CFLAGS)
7 -
8 -# We *know* we have a limits.h in the glibc library, with extra
9 -# definitions needed for e.g. libgfortran.
10 -LIMITS_H_TEST = :