summaryrefslogtreecommitdiffstats
path: root/libgloss
diff options
context:
space:
mode:
authorTamar Christina <tamar.christina@arm.com>2017-07-06 10:33:31 +0100
committerCorinna Vinschen <corinna@vinschen.de>2017-07-06 18:05:56 +0200
commit9eafa44d2328a7d00f0921c30516ee979a61556a (patch)
tree97687935865cacdd9b9d58504a0d5803e103f566 /libgloss
parentcff8513220bac1c938c366df90757372e4a1bb76 (diff)
downloadcygnal-9eafa44d2328a7d00f0921c30516ee979a61556a.tar.gz
cygnal-9eafa44d2328a7d00f0921c30516ee979a61556a.tar.bz2
cygnal-9eafa44d2328a7d00f0921c30516ee979a61556a.zip
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>
Diffstat (limited to 'libgloss')
-rw-r--r--libgloss/multi-build.in8
1 files changed, 4 insertions, 4 deletions
diff --git a/libgloss/multi-build.in b/libgloss/multi-build.in
index 0bd12cfd9..e2fd0807a 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; \