* config/cris/t-linux (LIMITS_H_TEST): Only define if not inhibit_libc.
authorHans-Peter Nilsson <hp@axis.com>
Wed, 12 Sep 2007 02:38:10 +0000 (02:38 +0000)
committerHans-Peter Nilsson <hp@gcc.gnu.org>
Wed, 12 Sep 2007 02:38:10 +0000 (02:38 +0000)
From-SVN: r128407

gcc/ChangeLog
gcc/config/cris/t-linux

index aa5331891345e4a8d773f6e51e9864a0cb10ffa7..125b6dba733a3920cb1c154be55e1e3cd5c7468b 100644 (file)
@@ -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.
index 31acfc4e1233aee89ef7421bfc39946769c2af39..e10d083f5654f89bd16d71f66b637cd63e9d56c9 100644 (file)
@@ -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