build system: don't add GCC-specific options when building with clang
This commit is contained in:
@@ -1,8 +1,3 @@
|
||||
set(CMAKE_SYSTEM_NAME Generic)
|
||||
|
||||
set(CMAKE_C_COMPILER gcc)
|
||||
set(CMAKE_CXX_COMPILER g++)
|
||||
set(CMAKE_ASM_COMPILER gcc)
|
||||
|
||||
set(CMAKE_C_FLAGS "-Wno-frame-address" CACHE STRING "C Compiler Base Flags")
|
||||
set(CMAKE_CXX_FLAGS "-Wno-frame-address" CACHE STRING "C++ Compiler Base Flags")
|
||||
# The build system assumes that toolchain-${IDF_TARGET}.cmake file
|
||||
# is present. It is not necessary for the host build, so we keep
|
||||
# this file as a placeholder.
|
||||
|
||||
Reference in New Issue
Block a user