File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -300,14 +300,14 @@ if(FUCHSIA_SDK)
300
300
set (LLVM_RUNTIME_MULTILIB_hwasan+noexcept_TARGETS "aarch64-unknown-fuchsia;riscv64-unknown-fuchsia" CACHE STRING "" )
301
301
endif ()
302
302
303
- foreach (target armv6m-unknown-eabi )
303
+ foreach (target armv6m-unknown-eabi;armv7m-unknown-eabi;armv8m-unknown-eabi )
304
304
list (APPEND BUILTIN_TARGETS "${target} " )
305
305
set (BUILTINS_${target}_CMAKE_SYSTEM_NAME Generic CACHE STRING "" )
306
306
set (BUILTINS_${target}_CMAKE_SYSTEM_PROCESSOR arm CACHE STRING "" )
307
307
set (BUILTINS_${target}_CMAKE_SYSROOT "" CACHE STRING "" )
308
308
set (BUILTINS_${target}_CMAKE_BUILD_TYPE RelWithDebInfo CACHE STRING "" )
309
309
foreach (lang C;CXX;ASM )
310
- set (BUILTINS_${target}_CMAKE_${lang}_FLAGS "--target=${target} -mcpu=cortex-m0plus - mthumb" CACHE STRING "" )
310
+ set (BUILTINS_${target}_CMAKE_${lang}_FLAGS "--target=${target} -mthumb" CACHE STRING "" )
311
311
endforeach ()
312
312
foreach (type SHARED;MODULE;EXE )
313
313
set (BUILTINS_${target}_CMAKE_${type}_LINKER_FLAGS "-fuse-ld=lld" CACHE STRING "" )
@@ -321,7 +321,7 @@ foreach(target armv6m-unknown-eabi)
321
321
set (RUNTIMES_${target}_CMAKE_BUILD_TYPE RelWithDebInfo CACHE STRING "" )
322
322
set (RUNTIMES_${target}_CMAKE_TRY_COMPILE_TARGET_TYPE STATIC_LIBRARY CACHE STRING "" )
323
323
foreach (lang C;CXX;ASM )
324
- set (RUNTIMES_${target}_CMAKE_${lang}_FLAGS "--target=${target} -mcpu=cortex-m0plus - mthumb" CACHE STRING "" )
324
+ set (RUNTIMES_${target}_CMAKE_${lang}_FLAGS "--target=${target} -mthumb" CACHE STRING "" )
325
325
endforeach ()
326
326
foreach (type SHARED;MODULE;EXE )
327
327
set (RUNTIMES_${target}_CMAKE_${type}_LINKER_FLAGS "-fuse-ld=lld" CACHE STRING "" )
You can’t perform that action at this time.
0 commit comments