Hi!
I've noticed the following when looking at the output from make install:
/usr/bin/install -c lto-dump \
//home/ed/gnu/install/bin/lto-dump
Note the "//" before the $(bindir) path, which
is itself already an absolute path name starting with a /.
While it is harmless on linux, it might be confused with
a network path in another well known O/S.
So I'd like to remove the duplicated slash here.
Boot-strapped and reg-tested on x86_64-pc-linux-gnu.
Is it OK for trunk?
Thanks
Bernd.
2019-08-01 Bernd Edlinger <bernd.edlin...@hotmail.de>
* Make-lang.in (lto.install-common): Remove unnecessary slash
between $(DESTDIR) and $(bindir).
diff -ru gcc/lto/Make-lang.in gcc/lto/Make-lang.in
--- gcc/lto/Make-lang.in 2019-05-10 08:31:32.000000000 +0200
+++ gcc/lto/Make-lang.in 2019-08-01 07:14:41.946108209 +0200
@@ -49,7 +49,7 @@
lto.tags:
lto.install-common: installdirs
$(INSTALL_PROGRAM) $(LTO_DUMP_EXE) \
- $(DESTDIR)/$(bindir)/$(LTO_DUMP_INSTALL_NAME)$(exeext)
+ $(DESTDIR)$(bindir)/$(LTO_DUMP_INSTALL_NAME)$(exeext)
lto.install-man:
lto.install-info: