On 6/30/24 5:09 PM, Lewis Hyatt wrote:
Hello-
I noticed this while trying to test another patch on Windows (using the
MSYS2 environment). Tested that it fixes the issue for x86_64-w64-mingw32
and doesn't affect anything for x86_64-pc-linux-gnu. It looks like the same
fix for C was applied back in r11-702. OK? Thanks...
OK.
-Lewis
-- >8 --
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/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: