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>
This commit is contained in:
Tamar Christina 2017-07-06 10:33:31 +01:00 committed by Corinna Vinschen
parent cff8513220
commit 9eafa44d23
1 changed files with 4 additions and 4 deletions

View File

@ -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; \