1
0
mirror of https://git.openwrt.org/openwrt/openwrt.git synced 2024-11-18 14:47:46 +01:00

add a fix preventing gcc build system from assuming that libc headers are always available

SVN-Revision: 13994
This commit is contained in:
Nicolas Thill 2009-01-12 19:01:25 +00:00
parent d814f38dd3
commit bf618cf1fd

@ -0,0 +1,10 @@
diff -ruN gcc-4.1.2.orig/gcc/config/cris/t-linux gcc-4.1.2/gcc/config/cris/t-linux
--- gcc-4.1.2.orig/gcc/config/cris/t-linux 2005-10-12 21:40:28.000000000 +0200
+++ gcc-4.1.2/gcc/config/cris/t-linux 2009-01-12 14:52:34.669331678 +0100
@@ -1,6 +1,2 @@
TARGET_LIBGCC2_CFLAGS += -fPIC
CRTSTUFF_T_CFLAGS_S = $(TARGET_LIBGCC2_CFLAGS)
-
-# We *know* we have a limits.h in the glibc library, with extra
-# definitions needed for e.g. libgfortran.
-LIMITS_H_TEST = :