public inbox for newlib-cvs@sourceware.org
help / color / mirror / Atom feed
* [newlib-cygwin] Replace the perl character classes with POSIX ones to fix the build when sed is a BSD sed instead of
@ 2017-07-06 16:35 Corinna Vinschen
  0 siblings, 0 replies; only message in thread
From: Corinna Vinschen @ 2017-07-06 16:35 UTC (permalink / raw)
  To: newlib-cvs

https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=9eafa44d2328a7d00f0921c30516ee979a61556a

commit 9eafa44d2328a7d00f0921c30516ee979a61556a
Author: Tamar Christina <tamar.christina@arm.com>
Date:   Thu Jul 6 10:33:31 2017 +0100

    Replace the perl character classes with POSIX ones to fix the build when sed is a BSD sed instead of GNU.
    
    Signed-off-by: Tamar Christina <tamar.christina@arm.com>

Diff:
---
 libgloss/multi-build.in | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/libgloss/multi-build.in b/libgloss/multi-build.in
index 0bd12cf..e2fd080 100644
--- a/libgloss/multi-build.in
+++ b/libgloss/multi-build.in
@@ -20,10 +20,10 @@ multi-do:
 		cp config.status $${destpre}; \
 		cd $${destpre}; \
 		$(SHELL) config.status; \
-		sed -e "s:^MULTIDIRS\s*+=.*$$:MULTIDIRS = :" \
-		    -e "s:^MULTILIBNAME\s*=.*$$:MULTILIBNAME = MULTIDIR_$${dir}_NAME:" \
-		    -e "s:^MULTI_FLAGS_FOR_TARGET\s*=.*$$:MULTI_FLAGS_FOR_TARGET = MULTIDIR_$${dir}_FLAGS:" \
-		    -e "s:^objdir\s*=.*$$:objdir = ..:" \
+		sed -e "s:^MULTIDIRS[[:space:]]*+=.*$$:MULTIDIRS = :" \
+		    -e "s:^MULTILIBNAME[[:space:]]*=.*$$:MULTILIBNAME = MULTIDIR_$${dir}_NAME:" \
+		    -e "s:^MULTI_FLAGS_FOR_TARGET[[:space:]]*=.*$$:MULTI_FLAGS_FOR_TARGET = MULTIDIR_$${dir}_FLAGS:" \
+		    -e "s:^objdir[[:space:]]*=.*$$:objdir = ..:" \
 			Makefile > Makefile.tem; \
 		rm -f Makefile; \
 		mv Makefile.tem Makefile; \


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2017-07-06 16:35 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-07-06 16:35 [newlib-cygwin] Replace the perl character classes with POSIX ones to fix the build when sed is a BSD sed instead of Corinna Vinschen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).