aboutsummaryrefslogtreecommitdiff
path: root/gcc/Makefile.in
diff options
context:
space:
mode:
authorJoel Sherrill <joel@OARcorp.com>1998-10-14 15:15:42 -0600
committerJeff Law <law@gcc.gnu.org>1998-10-14 15:15:42 -0600
commit7f94849f0cee7a4b48c49675a0c33d02964c2889 (patch)
tree6e1b1af2271a762a5bc36e59c6ec44539713a394 /gcc/Makefile.in
parent1a3d81719f1a2b7580a58f36e271e16e51b34c3c (diff)
downloadgcc-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
Diffstat (limited to 'gcc/Makefile.in')
-rw-r--r--gcc/Makefile.in9
1 files changed, 6 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