From: Eric Botcazou <[email protected]>
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'.
Tested on x86_64-pc-linux-gnu, committed on master.
---
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 2f5029080fe..ccd44caa551 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
--
2.53.0