diff --git a/pkg/jerryscript/Makefile.jerryscript b/pkg/jerryscript/Makefile.jerryscript index f95fb72bc55367bd62e15347c8b4dddcdea5fc3b..438ba108a90c10e2f96e74e2670dddacf6c61600 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 27899da60c721244022754704ad276f0be281981..1116ec1d84ffdca53ffc59f66e574fab9deea434 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