diff --git a/pkg/jerryscript/Makefile.jerryscript b/pkg/jerryscript/Makefile.jerryscript index f95fb72bc5..438ba108a9 100644 --- a/pkg/jerryscript/Makefile.jerryscript +++ b/pkg/jerryscript/Makefile.jerryscript @@ -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 diff --git a/pkg/nimble/Makefile b/pkg/nimble/Makefile index 27899da60c..1116ec1d84 100644 --- a/pkg/nimble/Makefile +++ b/pkg/nimble/Makefile @@ -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