Commit e5770980 authored by Johann's avatar Johann
Browse files

Disable neon assembly when neon is disabled

Change-Id: Idde266cd7287bb6bee016c90efeafa67550f94c6
parent 547cb14e
......@@ -805,7 +805,12 @@ process_common_toolchain() {
;;
armv7|armv7s)
soft_enable neon
soft_enable neon_asm
# Only enable neon_asm when neon is also enabled.
enabled neon && soft_enable neon_asm
# If someone tries to force it through, die.
if disabled neon && enabled neon_asm; then
die "Disabling neon while keeping neon-asm is not supported"
fi
soft_enable media
soft_enable fast_unaligned
;;
......
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