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:
Shubham Kulkarni 2020-08-11 11:45:37 +05:30 committed by Anas Nashif
commit a5ddb72261

View file

@ -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})