committed, cris-axis-linux-gnu: don't override LIMITS_H_TEST if inhibit_libc.

Hans-Peter Nilsson
Wed Sep 12 05:48:00 GMT 2007

This enables cris-axis-linux-gnu configured with
--enable-languages=c --without-headers to compile libgcc
(without patches, Segher! ;)

The same, but "ifeq", is used in the "main" gcc Makefile for
setting INHIBIT_LIBC_CFLAGS, so it should be safe.

        * config/cris/t-linux (LIMITS_H_TEST): Only define if not inhibit_libc.

Index: config/cris/t-linux
--- config/cris/t-linux	(revision 128406)
+++ config/cris/t-linux	(working copy)
 # We *know* we have a limits.h in the glibc library, with extra
 # definitions needed for e.g. libgfortran.
+ifneq ($(inhibit_libc),true)

brgds, H-P

More information about the Gcc-patches mailing list