From 7f94849f0cee7a4b48c49675a0c33d02964c2889 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Wed, 14 Oct 1998 15:15:42 -0600 Subject: [PATCH] Makefile.in (stmp-fixinc): Do not install assert.h if not desired. H * Makefile.in (stmp-fixinc): Do not install assert.h if not desired. * config/t-rtems: Do not install assert.h -- use newlib's. From-SVN: r23096 --- gcc/Makefile.in | 9 ++++++--- gcc/config/t-rtems | 4 ++++ 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/gcc/Makefile.in b/gcc/Makefile.in index e1b1413cdaf..fdf3ab21528 100644 --- a/gcc/Makefile.in +++ b/gcc/Makefile.in @@ -2045,9 +2045,12 @@ stmp-fixinc: $(FIXINCLUDES) gsyslimits.h $(SHELL) $(srcdir)/$(FIXINCLUDES) include $$dir; \ else true; fi; \ done; \ - rm -f include/assert.h; \ - cp $(srcdir)/assert.h include/assert.h; \ - chmod a+r include/assert.h; \ + if [ x$(INSTALL_ASSERT_H) != x ] ; \ + then \ + rm -f include/assert.h; \ + cp $(srcdir)/assert.h include/assert.h; \ + chmod a+r include/assert.h; \ + fi \ else true; \ fi rm -f include/syslimits.h diff --git a/gcc/config/t-rtems b/gcc/config/t-rtems index 25dd398dd52..aa0ca66d98b 100644 --- a/gcc/config/t-rtems +++ b/gcc/config/t-rtems @@ -1,2 +1,6 @@ # RTEMS uses newlib which does not require prototype fixing STMP_FIXPROTO = + +# Don't install "assert.h" in gcc. RTEMS uses the one in newlib. +INSTALL_ASSERT_H = + -- 2.30.2