From: Lewis Hyatt Date: Thu, 27 Jun 2024 20:11:27 +0000 (-0400) Subject: build: Fix "make install" for MinGW X-Git-Tag: basepoints/gcc-16~7768 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=bd9c550acc42c5b04a61be3c8d981359b2093357;p=thirdparty%2Fgcc.git 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 --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: