From: Joel Sherrill Date: Wed, 14 Oct 1998 21:54:37 +0000 (+0000) Subject: Makefile.in (stmp-fixinc): Do not install assert.h if not desired. X-Git-Tag: prereleases/egcs-1.1.1-pre~26 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f613cfa45b4d26a10e2176d7cc2338eb494f3add;p=thirdparty%2Fgcc.git Makefile.in (stmp-fixinc): Do not install assert.h if not desired. * 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: r23098 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 0051f906e85e..567289eff5ac 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +Wed Oct 14 22:13:28 1998 Joel Sherrill (joel@OARcorp.com) + + * Makefile.in (stmp-fixinc): Do not install assert.h if not desired. + * config/t-rtems: Do not install assert.h -- use newlib's. + Sat Oct 3 19:01:03 1998 Richard Henderson * alpha/linux.h (CPP_PREDEFINES): Define __alpha__ for imake. diff --git a/gcc/Makefile.in b/gcc/Makefile.in index 89894eb658a8..5acf9267aef7 100644 --- a/gcc/Makefile.in +++ b/gcc/Makefile.in @@ -2004,9 +2004,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 = +