Makefile.in (install-common): Remove special-case code for when SPECS is defined.

* Makefile.in (install-common): Remove special-case code for when
	SPECS is defined.

From-SVN: r92489
This commit is contained in:
Mark Mitchell 2004-12-22 17:22:59 +00:00 committed by Mark Mitchell
parent f199d860ae
commit e90f1b9de7
2 changed files with 9 additions and 12 deletions

View File

@ -1,3 +1,8 @@
2004-12-22 Mark Mitchell <mark@codesourcery.com>
* Makefile.in (install-common): Remove special-case code for when
SPECS is defined.
2004-12-22 Jan Beulich <jbeulich@novell.com> 2004-12-22 Jan Beulich <jbeulich@novell.com>
* config.gcc: Add dbxelf.h to NetWare's tm_file. * config.gcc: Add dbxelf.h to NetWare's tm_file.

View File

@ -3236,19 +3236,11 @@ install-common: native $(EXTRA_PARTS) lang.install-common installdirs
chmod a-x $(DESTDIR)$(libsubdir)/$$file; \ chmod a-x $(DESTDIR)$(libsubdir)/$$file; \
else true; fi; \ else true; fi; \
done done
# Remove any specs file installed by a previous version of GCC. # 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 rm -f $(DESTDIR)$(libsubdir)/specs
ifneq ($(SPECS),specs)
# In general, 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.
#
# However, in the case that the target has defined SPECS, then we must
# install the file. It may be that the installed specs file is
# different from that built into the driver.
$(INSTALL_DATA) $(SPECS) $(DESTDIR)$(libsubdir)/specs
chmod a-x $(DESTDIR)$(libsubdir)/specs
endif
# Install protoize if it was compiled. # Install protoize if it was compiled.
-if [ -f protoize$(exeext) ]; then \ -if [ -f protoize$(exeext) ]; then \
rm -f $(DESTDIR)$(bindir)/$(PROTOIZE_INSTALL_NAME)$(exeext); \ rm -f $(DESTDIR)$(bindir)/$(PROTOIZE_INSTALL_NAME)$(exeext); \