boards: esp32: add 'nostdinc' expection for espressif toolchain
disable nostdinc for espressif tolchain Signed-off-by: Shubham Kulkarni <shubham.kulkarni@espressif.com>
This commit is contained in:
parent
29f87c3a0f
commit
a5ddb72261
1 changed files with 1 additions and 0 deletions
|
@ -111,6 +111,7 @@ set_compiler_property(PROPERTY cstd -std=)
|
|||
|
||||
if (NOT CONFIG_NEWLIB_LIBC AND
|
||||
NOT COMPILER STREQUAL "xcc" AND
|
||||
NOT ZEPHYR_TOOLCHAIN_VARIANT STREQUAL "espressif" AND
|
||||
NOT CONFIG_NATIVE_APPLICATION)
|
||||
set_compiler_property(PROPERTY nostdinc -nostdinc)
|
||||
set_compiler_property(APPEND PROPERTY nostdinc_include ${NOSTDINC})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue