mirror of
https://github.com/espressif/esp-idf.git
synced 2026-04-27 19:13:21 +00:00
build: Adds support for Clangs's toolchain compiler-rt
This commit is contained in:
@@ -224,6 +224,11 @@ endif()
|
||||
|
||||
if(CMAKE_C_COMPILER_ID MATCHES "Clang")
|
||||
list(APPEND compile_options "-fno-use-cxa-atexit")
|
||||
if(CONFIG_COMPILER_RT_LIB_GCCLIB)
|
||||
list(APPEND link_options "-rtlib=libgcc")
|
||||
elseif(CONFIG_COMPILER_RT_LIB_CLANGRT)
|
||||
list(APPEND link_options "-rtlib=compiler-rt")
|
||||
endif()
|
||||
endif()
|
||||
|
||||
# For the transition period from 32-bit time_t to 64-bit time_t,
|
||||
|
||||
Reference in New Issue
Block a user