diff options
author | Nicolas Thill <nico@openwrt.org> | 2009-01-12 19:01:25 +0000 |
---|---|---|
committer | Nicolas Thill <nico@openwrt.org> | 2009-01-12 19:01:25 +0000 |
commit | bf618cf1fd09b3de98a3e1e5d4a73ee8d793bdfe (patch) | |
tree | 247858951589955b8fc34e029906bf0eca95cea3 /toolchain | |
parent | d814f38dd3282b82ebc62274be0dc16ca2b9a389 (diff) | |
download | mtk-20170518-bf618cf1fd09b3de98a3e1e5d4a73ee8d793bdfe.zip mtk-20170518-bf618cf1fd09b3de98a3e1e5d4a73ee8d793bdfe.tar.gz mtk-20170518-bf618cf1fd09b3de98a3e1e5d4a73ee8d793bdfe.tar.bz2 |
add a fix preventing gcc build system from assuming that libc headers are always available
SVN-Revision: 13994
Diffstat (limited to 'toolchain')
-rw-r--r-- | toolchain/gcc/patches/4.1.2/120-cris-do_not_overide_limits_h_test.patch | 10 |
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 0000000..d80feb5 --- /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 = : |