CMake: Fix Cortex M7 flag passed to assembler

pull/13977/head
Hugues Kamba 2020-11-27 17:53:19 +00:00 committed by Martin Kojtal
parent af5782b290
commit 7c3cfabfb6
1 changed files with 1 additions and 1 deletions

View File

@ -28,7 +28,7 @@ function(mbed_set_cpu_core_options target mbed_toolchain)
INTERFACE
$<$<COMPILE_LANGUAGE:C>:${compile_options}>
$<$<COMPILE_LANGUAGE:CXX>:${compile_options}>
$<$<COMPILE_LANGUAGE:ASM>:-mcpu=Cortex-M7.no_fp>
$<$<COMPILE_LANGUAGE:ASM>:${compile_options}>
)
target_link_options(${target}