From 66bb0718a3b8659f7c7362fcc1061140f0416344 Mon Sep 17 00:00:00 2001 From: Christian Cornelssen Date: Thu, 17 May 2018 19:57:58 +0200 Subject: src/grt/Makefile.inc: grt/grt-files: Remove CR from line ends Under Cygwin, generated *.adb files get CRLF line endings. These get propagated to grt/grt-files and later confuse the ar command for libgrt.a (because IFS does not contain CR). --- src/grt/Makefile.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/grt') diff --git a/src/grt/Makefile.inc b/src/grt/Makefile.inc index 48acc1423..9c6fad5a0 100644 --- a/src/grt/Makefile.inc +++ b/src/grt/Makefile.inc @@ -205,7 +205,7 @@ grt-disp-config: grt/grt-files: grt/run-bind.adb sed -e "1,/-- *BEGIN/d" -e "/-- *END/,\$$d" \ - -e "s/ -- //" < $< > $@ + -e "s/ -- //" < $< | tr -d '\r' > $@ # Remove local files (they are now in the libgrt library). # Also, remove the -shared option, in order not to build a shared library -- cgit v1.2.3