https://gcc.gnu.org/g:204dc46aa3a800d102241903fdd04bc92e190ef1

commit r17-812-g204dc46aa3a800d102241903fdd04bc92e190ef1
Author: Eric Botcazou <[email protected]>
Date:   Sun Feb 15 00:00:55 2026 +0100

    ada: Fix build failure on Windows machines
    
    The -E switch is not recognized by old versions of GNU sed, so remove it as
    well as the pipe since it hides error messages.
    
    gcc/ada/ChangeLog:
    
            * gcc-interface/Makefile.in ($(RTSDIR)/s-intnam.ads): Change recipe
            to use a basic invocation of 'sed'.

Diff:
---
 gcc/ada/gcc-interface/Makefile.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gcc/ada/gcc-interface/Makefile.in 
b/gcc/ada/gcc-interface/Makefile.in
index 2f5029080fe6..ccd44caa5518 100644
--- a/gcc/ada/gcc-interface/Makefile.in
+++ b/gcc/ada/gcc-interface/Makefile.in
@@ -647,7 +647,7 @@ $(RTSDIR)/a-intnam.ads: ../stamp-gnatlib1-$(RTSDIR)
        touch $@
 
 $(RTSDIR)/s-intnam.ads: $(fsrcdir)/ada/xsintnam.sed $(RTSDIR)/a-intnam.ads
-       sed -E -f $(fsrcdir)/ada/xsintnam.sed $(RTSDIR)/a-intnam.ads | cat -s > 
$@
+       sed -f $(fsrcdir)/ada/xsintnam.sed $(RTSDIR)/a-intnam.ads > $@
 
 gnatlib: ../stamp-gnatlib1-$(RTSDIR) ../stamp-gnatlib2-$(RTSDIR) 
$(RTSDIR)/s-oscons.ads $(RTSDIR)/s-intnam.ads
        test -f $(RTSDIR)/s-oscons.ads || exit 1

Reply via email to