This is the mail archive of the mailing list for the GCC project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


I've noticed the following when looking at the output from make install:

/usr/bin/install -c 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?

2019-08-01  Bernd Edlinger  <>

	* (lto.install-common): Remove unnecessary slash
	between $(DESTDIR) and $(bindir).

diff -ru gcc/lto/ gcc/lto/
--- gcc/lto/	2019-05-10 08:31:32.000000000 +0200
+++ gcc/lto/	2019-08-01 07:14:41.946108209 +0200
@@ -49,7 +49,7 @@
 lto.install-common: installdirs
-	$(DESTDIR)/$(bindir)/$(LTO_DUMP_INSTALL_NAME)$(exeext)
+	$(DESTDIR)$(bindir)/$(LTO_DUMP_INSTALL_NAME)$(exeext)

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]