altcross.sh: repaired broken sed command

This commit is contained in:
Alexey Sheplyakov 2021-07-29 21:12:21 +04:00
parent dfe065bd30
commit 143653be0b

View File

@ -141,7 +141,7 @@ sed -e 's;/lib/ld-linux-aarch64;/lib64/ld-linux-aarch64;g' -i $BUILDDIR/specs
# Use aarch64-linux-gnu-as instead of generic `as`
sed -e "/^[*]invoke_as:/,/^[*]cpp:/ s; as ; ../../../../bin/${TARGET}-as ;" -i $BUILDDIR/specs
# Same for objcopy
sed -e "s; objcopy ; ../../../../bin/${TARGET}-objcopy /" -i $BUILDDIR/specs
sed -e "s; objcopy ; ../../../../bin/${TARGET}-objcopy ;" -i $BUILDDIR/specs
mv $BUILDDIR/specs "$INSTALLDIR/lib/gcc/$TARGET/${GCC_MAJOR_VERSION}/"