mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
pkg/jeryscript: allow GCC extension include_next
used by ESP_IDF
This commit is contained in:
parent
587e007a31
commit
2724276997
@ -21,10 +21,9 @@ ifeq ($(TOOLCHAIN)_$(BOARD),llvm_native)
|
||||
else ifeq ($(OS)_$(BOARD),FreeBSD_native)
|
||||
EXT_CFLAGS += -Wno-conversion
|
||||
else ifeq (esp32,$(CPU))
|
||||
# The esp32 C newlib version 2.2.0 has errors when compiling with warnings
|
||||
# that are enabled by jerryscript build system so disable them for this cpu:
|
||||
# * -Wundef: stdio.h: `__GNU_VISIBLE` and `__BSD_VISIBLE` are not defined
|
||||
EXT_CFLAGS += -Wno-undef -Wno-error=undef
|
||||
# The ESP-IDF uses #include_next that causes errors when compiling with warnings
|
||||
# that are enabled by jerryscript build system so disable them for these CPUs:
|
||||
EXT_CFLAGS += -Wno-pedantic
|
||||
else ifeq (esp8266,$(CPU))
|
||||
# The esp8266 C newlib version 3.0.0 has errors when compiling with warnings
|
||||
# that are enabled by jerryscript build system so disable them for this cpu:
|
||||
|
Loading…
Reference in New Issue
Block a user