CMake: Fix Cortex-A9 flags for GCC_ARM toolchain
The -mcpu=cortex-a9 flag conflicts with the march=armv7-a flag.
Opted to keep mcpu=cortex-a9 as it is more specific and
allows GCC to perform better optimization.

The compiler is also changed to use soft-float ABI as it
was necessary to successfully build. Without it the application
appears to be built with soft-float ABI and it conflicts with
the previous setting which was built with hard-float ABI.
This may be related to: https://gitlab.kitware.com/cmake/cmake/-/issues/21173
ls
1 parent 8a19e3e commit b193d975329232d1b1a0202019028a274d66bea7
@Hugues Kamba Hugues Kamba authored on 11 Mar 2021
Showing 1 changed file
View
tools/cmake/cores/Cortex-A9.cmake