esp-idf/components/riscv/project_include.cmake
2022-11-23 13:25:16 +03:00

6 lines
225 B
CMake

# avoid esp-clang "unused-command-line-argument" warning
if(NOT (CMAKE_C_COMPILER_ID MATCHES "Clang") )
set(compile_options "-nostartfiles")
idf_build_set_property(COMPILE_OPTIONS "${compile_options}" APPEND)
endif()