diff options
author | Joel Sherrill <joel@OARcorp.com> | 1998-10-14 15:15:42 -0600 |
---|---|---|
committer | Jeff Law <law@gcc.gnu.org> | 1998-10-14 15:15:42 -0600 |
commit | 7f94849f0cee7a4b48c49675a0c33d02964c2889 (patch) | |
tree | 6e1b1af2271a762a5bc36e59c6ec44539713a394 | |
parent | 1a3d81719f1a2b7580a58f36e271e16e51b34c3c (diff) | |
download | gcc-7f94849f0cee7a4b48c49675a0c33d02964c2889.zip gcc-7f94849f0cee7a4b48c49675a0c33d02964c2889.tar.gz gcc-7f94849f0cee7a4b48c49675a0c33d02964c2889.tar.bz2 |
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
-rw-r--r-- | gcc/Makefile.in | 9 | ||||
-rw-r--r-- | gcc/config/t-rtems | 4 |
2 files changed, 10 insertions, 3 deletions
diff --git a/gcc/Makefile.in b/gcc/Makefile.in index e1b1413..fdf3ab2 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 25dd398..aa0ca66 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 = + |