Invalid default flags for GNU assembler for ARM
This might be related to #20426.
I used arm-none-eabi-as
as CMAKE_ASM_COMPILER
. The build fails with a build type other than Debug
, because CMake includes -O3
in the default flags, which is not supported by arm-none-eabi-as
(it is supported by my x64 host as
, though). I used CMake 3.18.1.
Unlike the referenced ticket, I have a corresponding gcc
. When using that, everything works as expected.
Edited by Daniel Saier