From 2acf545593c0712676af531629c5f75fd88ff1cc Mon Sep 17 00:00:00 2001 From: Kevin Mihelich Date: Mon, 26 Jan 2015 04:19:50 +0000 Subject: [PATCH] extra/chromium: use neon --- extra/chromium/PKGBUILD | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/extra/chromium/PKGBUILD b/extra/chromium/PKGBUILD index ec9bce7a3..0eb2b12c3 100644 --- a/extra/chromium/PKGBUILD +++ b/extra/chromium/PKGBUILD @@ -105,6 +105,8 @@ build() { export PATH="$srcdir/python2-path:$PATH" + CFLAGS=`echo $CFLAGS | sed -e 's/vfpv3-d16/neon/'` && CXXFLAGS="$CFLAGS" + # CFLAGS are passed through release_extra_cflags below export -n CFLAGS CXXFLAGS @@ -121,7 +123,7 @@ fi if [ "$CARCH" == "armv7h" ]; then arch_specific_flags=" -Darmv7=1 \ - -Darm_fpu=vfpv3-d16" + -Darm_fpu=neon" fi local _chromium_conf=( @@ -166,7 +168,7 @@ fi -Ddisable_glibc=1 -Ddisable_sse2=1 -Dtarget_arch=arm - -Darm_neon=0 + -Darm_neon=1 -Dlogging_like_official_build=1 -Ddisable_nacl=1 -Ddisable_pnacl=1