From: Joel Sherrill Date: Wed, 14 Oct 1998 21:15:42 +0000 (-0600) Subject: Makefile.in (stmp-fixinc): Do not install assert.h if not desired. X-Git-Tag: prereleases/libgcj-0.1~2507 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=7f94849f0cee7a4b48c49675a0c33d02964c2889;p=thirdparty%2Fgcc.git 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 --- diff --git a/gcc/Makefile.in b/gcc/Makefile.in index e1b1413cdaf6..fdf3ab21528b 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 25dd398dd52e..aa0ca66d98b8 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 = +