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.
This commit is contained in:
parent
9187a08106
commit
31c206bf80
|
@ -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')
|
||||
|
|
Loading…
Reference in New Issue