Commit 0a4ddc3f authored by Rasmus Thomsen's avatar Rasmus Thomsen Committed by Natanael Copa

main/mozjs60: fix conditional sedding for armhf

parent 3d74ea1a
......@@ -27,10 +27,12 @@ build() {
touch configure
# Fix broken ARM_ARCH check which doesn't work with newer GCCs it seems.
if [ "$CTARGET" = "armv*" ]; then
ARM_ARCH=$(echo ${CTARGET#*armv} | sed "s|-.*||")
sed -i "s|ARM_ARCH=.*|ARM_ARCH=$ARM_ARCH|" "$builddir"/build/autoconf/arch.m4
fi
case "$CTARGET" in
armv*)
ARM_ARCH=$(echo ${CTARGET#*armv} | sed "s|-.*||")
sed -i "s|ARM_ARCH=.*|ARM_ARCH=$ARM_ARCH|" "$builddir"/build/autoconf/arch.m4
;;
esac
export SHELL=/bin/ash
PYTHON=/usr/bin/python2 ./configure --prefix=/usr \
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment