mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
Merge pull request #10503 from smlng/pr/pkg/jerryscript_wconversion
pkg: disable compiler warning for jerryscript and nimble
This commit is contained in:
commit
6d5af802a4
@ -4,6 +4,10 @@ JERRYHEAP ?= 16
|
||||
|
||||
EXT_CFLAGS :=-D__TARGET_RIOT
|
||||
|
||||
ifeq ($(TOOLCHAIN)_$(BOARD),llvm_native)
|
||||
EXT_CFLAGS :=-D__TARGET_RIOT -Wno-conversion
|
||||
endif
|
||||
|
||||
.PHONY: libjerry riot-jerry flash clean
|
||||
|
||||
# all: libjerry riot-jerry
|
||||
|
@ -15,6 +15,7 @@ ifeq (llvm,$(TOOLCHAIN))
|
||||
# tell LLVM/clang not to be so pedantic with this.
|
||||
CFLAGS += -Wno-unused-function
|
||||
CFLAGS += -Wno-sometimes-uninitialized
|
||||
CFLAGS += -Wno-address-of-packed-member
|
||||
else
|
||||
CFLAGS += -Wno-unused-but-set-variable
|
||||
endif
|
||||
|
Loading…
Reference in New Issue
Block a user