Commit 31c206bf authored by Max Kellermann's avatar Max Kellermann

android/build.py: add -mfpu=vfp, explicitly disabling NEON

Apparently, clang defaults to NEON when ARMv7 is used. Not all ARMv7 CPUs we target have NEON, so we need to disable that.
parent 9187a081
......@@ -67,7 +67,7 @@ class AndroidNdkToolchain:
common_flags = '-Os -g'
common_flags += ' -fPIC'
common_flags += ' -march=armv7-a -mfloat-abi=softfp'
common_flags += ' -march=armv7-a -mfpu=vfp -mfloat-abi=softfp'
toolchain_bin = os.path.join(toolchain_path, 'bin')
llvm_bin = os.path.join(llvm_path, 'bin')
......
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