[PATCH] [LTO] Avoid path name with // when installing lto-dump

Bernd Edlinger bernd.edlinger@hotmail.de
Thu Aug 1 07:07:00 GMT 2019


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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch-lto-dump-install.diff
Type: text/x-patch
Size: 582 bytes
Desc: patch-lto-dump-install.diff
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20190801/9abc4fce/attachment.bin>


More information about the Gcc-patches mailing list