* Makefile.in (install-common): Remove special-case code for when
authormmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 22 Dec 2004 17:22:59 +0000 (17:22 +0000)
committermmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 22 Dec 2004 17:22:59 +0000 (17:22 +0000)
SPECS is defined.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92489 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/Makefile.in

index 0ab0b2d..8569982 100644 (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>
 
        * config.gcc: Add dbxelf.h to NetWare's tm_file.
index 84282c5..79b13fb 100644 (file)
@@ -3236,19 +3236,11 @@ install-common: native $(EXTRA_PARTS) lang.install-common installdirs
            chmod a-x $(DESTDIR)$(libsubdir)/$$file; \
          else true; fi; \
        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
-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.
        -if [ -f protoize$(exeext) ]; then \
          rm -f $(DESTDIR)$(bindir)/$(PROTOIZE_INSTALL_NAME)$(exeext); \