https://gcc.gnu.org/g:bd9c550acc42c5b04a61be3c8d981359b2093357
commit r15-1785-gbd9c550acc42c5b04a61be3c8d981359b2093357 Author: Lewis Hyatt <lhy...@gmail.com> Date: Thu Jun 27 16:11:27 2024 -0400 build: Fix "make install" for MinGW Since r8-4925, the "make install" recipe generates a path which can start with "//", causing problems for some Windows environments. Fix by removing the redundant slash. gcc/cp/ChangeLog: * Make-lang.in: Remove redundant slash. Diff: --- gcc/cp/Make-lang.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/cp/Make-lang.in b/gcc/cp/Make-lang.in index 026cf8d7088..e792ea4ddf3 100644 --- a/gcc/cp/Make-lang.in +++ b/gcc/cp/Make-lang.in @@ -344,7 +344,7 @@ c++.install-plugin: installdirs # Install import library. ifeq ($(plugin_implib),yes) $(mkinstalldirs) $(DESTDIR)$(plugin_resourcesdir) - $(INSTALL_DATA) cc1plus$(exeext).a $(DESTDIR)/$(plugin_resourcesdir)/cc1plus$(exeext).a + $(INSTALL_DATA) cc1plus$(exeext).a $(DESTDIR)$(plugin_resourcesdir)/cc1plus$(exeext).a endif c++.uninstall: