aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorHans-Peter Nilsson <hp@axis.com>2007-09-12 02:38:10 +0000
committerHans-Peter Nilsson <hp@gcc.gnu.org>2007-09-12 02:38:10 +0000
commit367985140f2647a348daa02872a3ddddfed26177 (patch)
tree482b39c75cfb96d6d7fa8fa2a394cad206670800 /gcc
parent31af2dca8c2deef1ad5e34ccfb5e4bb9e7550f3c (diff)
downloadgcc-367985140f2647a348daa02872a3ddddfed26177.zip
gcc-367985140f2647a348daa02872a3ddddfed26177.tar.gz
gcc-367985140f2647a348daa02872a3ddddfed26177.tar.bz2
* config/cris/t-linux (LIMITS_H_TEST): Only define if not inhibit_libc.
From-SVN: r128407
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog2
-rw-r--r--gcc/config/cris/t-linux2
2 files changed, 4 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index aa53318..125b6db 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,7 @@
2007-09-12 Hans-Peter Nilsson <hp@axis.com>
+ * config/cris/t-linux (LIMITS_H_TEST): Only define if not inhibit_libc.
+
PR target/33360
* config/cris/cris.c (cris_expand_pic_call_address): Fix typo in
GET_CODE (x) == CONST_INT to CONST_INT_P (x) transformation.
diff --git a/gcc/config/cris/t-linux b/gcc/config/cris/t-linux
index 31acfc4..e10d083 100644
--- a/gcc/config/cris/t-linux
+++ b/gcc/config/cris/t-linux
@@ -3,4 +3,6 @@ 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.
+ifneq ($(inhibit_libc),true)
LIMITS_H_TEST = :
+endif