correct the use of 'sed -i'
This commit is contained in:
parent
1720bc2e81
commit
7bf41392b6
@ -17,10 +17,11 @@ do
|
||||
-Isrc/rt/arch/$ARCH -fno-stack-protector \
|
||||
-o src/rt/intrinsics/intrinsics.$ARCH.ll.in \
|
||||
src/rt/intrinsics/intrinsics.cpp
|
||||
sed -i \
|
||||
sed -i .orig \
|
||||
-e 's/^target datalayout =/; target datalayout =/' \
|
||||
src/rt/intrinsics/intrinsics.$ARCH.ll.in
|
||||
sed -i \
|
||||
sed -i .orig \
|
||||
-e 's/^target triple = "[^"]*"/target triple = "@CFG_TARGET_TRIPLE@"/' \
|
||||
src/rt/intrinsics/intrinsics.$ARCH.ll.in
|
||||
done
|
||||
rm src/rt/intrinsics/intrinsics.$ARCH.ll.in.orig
|
||||
done
|
||||
|
Loading…
Reference in New Issue
Block a user