chromium: use NEON/THUMB on ARMv7+.
This commit is contained in:
parent
b6c0b636fc
commit
e2b2b663ae
1 changed files with 4 additions and 2 deletions
|
@ -149,7 +149,6 @@ do_configure() {
|
|||
i686*) conf+=" -Ddisable_nacl=1 -Ddisable_pnacl=1";;
|
||||
arm*) conf+="
|
||||
-Dtarget_arch=arm
|
||||
-Darm_neon=0
|
||||
-Ddisable_pnacl=1
|
||||
-Ddisable_nacl=1
|
||||
-Dv8_use_arm_eabi_hardfloat=true
|
||||
|
@ -165,11 +164,14 @@ do_configure() {
|
|||
case "${XBPS_TARGET_MACHINE}" in
|
||||
armv7*) conf+="
|
||||
-Darmv7=1
|
||||
-Darm_fpu=vfpv3-d16";;
|
||||
-Darm_neon=1
|
||||
-Darm_thumb=1
|
||||
-Darm_fpu=neon";;
|
||||
armv6*)
|
||||
conf+="
|
||||
-Darmv7=0
|
||||
-Darmv6=1
|
||||
-Darm_neon=0
|
||||
-Darm_fpu=vfp
|
||||
-Darm_thumb=0
|
||||
-Dv8_can_use_vfp_instructions=false
|
||||
|
|
Loading…
Reference in a new issue