summaryrefslogtreecommitdiff
path: root/gcc/Makefile.in
diff options
context:
space:
mode:
authorbrooks <brooks@138bc75d-0d04-0410-961f-82ee72b054a4>2013-09-12 23:07:32 +0000
committerbrooks <brooks@138bc75d-0d04-0410-961f-82ee72b054a4>2013-09-12 23:07:32 +0000
commit955edcde3ac7724c996ceb230359fd09380ccac0 (patch)
treeaf6b2a5ed4697e45fd0e8b428f02102e25619f9c /gcc/Makefile.in
parentb87a044e4ef32b61344e59193b31a44427c1cb7d (diff)
downloadgcc-955edcde3ac7724c996ceb230359fd09380ccac0.tar.gz
PR driver/42955
* Makefile.in: Do not install driver binaries in $(target)/bin. * cp/Make-lang.in: Likewise. * fortran/Make-lang.in: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@202544 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/Makefile.in')
-rw-r--r--gcc/Makefile.in10
1 files changed, 2 insertions, 8 deletions
diff --git a/gcc/Makefile.in b/gcc/Makefile.in
index b02d61d3d04..a2e3f7af2ba 100644
--- a/gcc/Makefile.in
+++ b/gcc/Makefile.in
@@ -4771,20 +4771,14 @@ install-common: native lang.install-common installdirs
fi
# Install the driver program as $(target_noncanonical)-gcc,
-# $(target_noncanonical)-gcc-$(version)
-# and also as either gcc (if native) or $(gcc_tooldir)/bin/gcc.
+# $(target_noncanonical)-gcc-$(version), and also as gcc if native.
install-driver: installdirs xgcc$(exeext)
-rm -f $(DESTDIR)$(bindir)/$(GCC_INSTALL_NAME)$(exeext)
-$(INSTALL_PROGRAM) xgcc$(exeext) $(DESTDIR)$(bindir)/$(GCC_INSTALL_NAME)$(exeext)
-rm -f $(DESTDIR)$(bindir)/$(target_noncanonical)-gcc-$(version)$(exeext)
-( cd $(DESTDIR)$(bindir) && \
$(LN) $(GCC_INSTALL_NAME)$(exeext) $(target_noncanonical)-gcc-$(version)$(exeext) )
- -if [ -f gcc-cross$(exeext) ] ; then \
- if [ -d $(DESTDIR)$(gcc_tooldir)/bin/. ] ; then \
- rm -f $(DESTDIR)$(gcc_tooldir)/bin/gcc$(exeext); \
- $(INSTALL_PROGRAM) gcc-cross$(exeext) $(DESTDIR)$(gcc_tooldir)/bin/gcc$(exeext); \
- else true; fi; \
- else \
+ -if [ ! -f gcc-cross$(exeext) ] ; then \
rm -f $(DESTDIR)$(bindir)/$(target_noncanonical)-gcc-tmp$(exeext); \
( cd $(DESTDIR)$(bindir) && \
$(LN) $(GCC_INSTALL_NAME)$(exeext) $(target_noncanonical)-gcc-tmp$(exeext) && \