[gcc r17-2349] build: Fix Solaris clearcap.map installation

Rainer Orth via Gcc-cvs <[email protected]>
Newsgroups gmane.comp.gcc.cvs
Message-ID <[email protected]>
https://gcc.gnu.org/g:1ac363487c56192fd7e6999393f25ad545894b78

commit r17-2349-g1ac363487c56192fd7e6999393f25ad545894b78
Author: Rainer Orth <[email protected]>
Date:   Mon Jul 13 10:08:55 2026 +0200

    build: Fix Solaris clearcap.map installation
    
    Since
    
    commit 5f1256233b6a192677dcb4d8a32672c86967120d
    Author: Rainer Orth <[email protected]>
    Date:   Sun Jul 5 14:59:27 2026 +0200
    
        Hardcode Solaris v2 mapfile syntax with Solaris ld
    
    the clearcap.map linker map file was installed with a wrong name.  This
    is only noticed when testing an installed compiler with a part of the
    testsuite that excercises the -mclear-hwcap option.
    
    Tested on i386-pc-solaris2.11.
    
    2026-07-12  Rainer Orth  <[email protected]>
    
            gcc:
            * config/t-sol2 (install-clearcap-map): Install as clearcap.map.

Diff:
---
 gcc/config/t-sol2 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gcc/config/t-sol2 b/gcc/config/t-sol2
index 18164de1ab5f..67d0a5c11f57 100644
--- a/gcc/config/t-sol2
+++ b/gcc/config/t-sol2
@@ -51,4 +51,4 @@ install: install-clearcap-map
 
 # Ignore failures: file only exists if linker supports it.
 install-clearcap-map: $(srcdir)/config/sol2-clearcap.map
-	-$(INSTALL_DATA) $< $(DESTDIR)$(libdir)
+	-$(INSTALL_DATA) $< $(DESTDIR)$(libdir)/clearcap.map
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.