diff options
author | Benoit Jacob <benoitjacob@google.com> | 2015-02-27 10:56:50 -0500 |
---|---|---|
committer | Benoit Jacob <benoitjacob@google.com> | 2015-02-27 10:56:50 -0500 |
commit | f5ff4d826fa5728f6319dcc7159b1337a2461880 (patch) | |
tree | 9be432f8ef581a58655851ce91f7e566a877bc01 /demos/mix_eigen_and_c/binary_library.cpp | |
parent | b7fc8746e07556404672b4da2d53dd323c441634 (diff) |
Fix NEON build flags: in the current NDK, at least with the clang-3.5 toolchain,
-mfpu=neon is not enough to activate NEON, since it's incompatible with the default float ABI,
and I have to pass -mfloat-abi=softfp (which is what everyone does in practice).
In fact, it would be a good idea to pass -mfloat-abi=softfp all the time, regardless of NEON.
Also removing the -mcpu=cortex-a8, as 1) it's not needed and 2) if we really wanted to pass
a specific -mcpu flag, that would presumably to tune performance for benchmarks, and it would
then not really make sense to tune for the very old cortex-a8 (it reflects ARM CPUs from 5 years ago).
Diffstat (limited to 'demos/mix_eigen_and_c/binary_library.cpp')
0 files changed, 0 insertions, 0 deletions