aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Mitchell <mark@codesourcery.com>2005-08-03 22:00:13 +0000
committerMark Mitchell <mark@codesourcery.com>2005-08-03 22:00:13 +0000
commitce63d93e0b6492a9e46a14bd2ae7d7879cedfa23 (patch)
tree6c76be5e6f048620bd865135942769444c52ede8
parentcbe22aad4b706a6f5bf978d1fd4f0a98566e9be0 (diff)
Backport:
2004-12-22 Mark Mitchell <mark@codesourcery.com> * Makefile.in (install-common): Remove special-case code for when SPECS is defined. 2004-12-20 Mark Mitchell <mark@codesourcery.com> * Makefile.in (install-common): Do not install the specs file unless SPECS is defined. git-svn-id: https://gcc.gnu.org/svn/gcc/branches/csl-gxxpro-3_4-branch@102715 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/Makefile.in11
1 files changed, 5 insertions, 6 deletions
diff --git a/gcc/Makefile.in b/gcc/Makefile.in
index b3208c52858..a5ad7830fea 100644
--- a/gcc/Makefile.in
+++ b/gcc/Makefile.in
@@ -2924,12 +2924,11 @@ install-common: native $(EXTRA_PARTS) lang.install-common installdirs
chmod a-x $(DESTDIR)$(libsubdir)/$$file; \
else true; fi; \
done
-# Don't mess with specs if it doesn't exist yet.
- -if [ -f specs ] ; then \
- rm -f $(DESTDIR)$(libsubdir)/specs; \
- $(INSTALL_DATA) $(SPECS) $(DESTDIR)$(libsubdir)/specs; \
- chmod a-x $(DESTDIR)$(libsubdir)/specs; \
- fi
+# We no longer install the specs file because its presence makes the
+# driver slower, and because people who need it can recreate it by
+# using -dumpspecs. We remove any old version because it would
+# otherwise override the specs built into the driver.
+ rm -f $(DESTDIR)$(libsubdir)/specs
# Install protoize if it was compiled.
-if [ -f protoize$(exeext) ]; then \
rm -f $(DESTDIR)$(bindir)/$(PROTOIZE_INSTALL_NAME)$(exeext); \