1
0
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:
Kaspar Schleiser 2018-11-29 12:35:18 +01:00 committed by GitHub
commit 6d5af802a4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 0 deletions

View File

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

View File

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