summaryrefslogtreecommitdiffstats
path: root/toolchain
diff options
context:
space:
mode:
authornico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-01-12 19:01:25 +0000
committernico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-01-12 19:01:25 +0000
commit18bd8e2d150ca91fa976d3b39459ababcc19044c (patch)
tree1938bc6ddfeefd664f0443fbcbf9f3c26a6314b5 /toolchain
parentffaf63e2cbd9b506ffb8c79c74543283b7271225 (diff)
[cris] add a fix preventing gcc build system from assuming that libc headers are always available
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13994 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'toolchain')
-rw-r--r--toolchain/gcc/patches/4.1.2/120-cris-do_not_overide_limits_h_test.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/toolchain/gcc/patches/4.1.2/120-cris-do_not_overide_limits_h_test.patch b/toolchain/gcc/patches/4.1.2/120-cris-do_not_overide_limits_h_test.patch
new file mode 100644
index 000000000..d80feb55f
--- /dev/null
+++ b/toolchain/gcc/patches/4.1.2/120-cris-do_not_overide_limits_h_test.patch
@@ -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 = :