This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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)
@@ -3,4 +3,6 @@ CRTSTUFF_T_CFLAGS_S = $(TARGET_LIBGCC2_C
 
 # 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

brgds, H-P


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]