From: Hans-Peter Nilsson Date: Wed, 12 Sep 2007 02:38:10 +0000 (+0000) Subject: * config/cris/t-linux (LIMITS_H_TEST): Only define if not inhibit_libc. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=367985140f2647a348daa02872a3ddddfed26177;p=gcc.git * config/cris/t-linux (LIMITS_H_TEST): Only define if not inhibit_libc. From-SVN: r128407 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index aa533189134..125b6dba733 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,7 @@ 2007-09-12 Hans-Peter Nilsson + * 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 31acfc4e123..e10d083f565 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