pkg/jerryscript: set -Wno-conversion for FreeBSD
Fixes compile issue on FreeBSD because of float to double conversion by disabling the corresponding compiler warning.
This commit is contained in:
parent
e6bdcae327
commit
5dd03b9b3e
@ -6,6 +6,8 @@ EXT_CFLAGS :=-D__TARGET_RIOT
|
||||
|
||||
ifeq ($(TOOLCHAIN)_$(BOARD),llvm_native)
|
||||
EXT_CFLAGS :=-D__TARGET_RIOT -Wno-conversion
|
||||
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:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user