From 6a693b4b2dda2ee862a9e3c7ceb121ad22e1eb6e Mon Sep 17 00:00:00 2001 From: Martine Lenders Date: Fri, 3 Aug 2018 17:56:22 +0200 Subject: [PATCH] pkg: libcoap: ignore -Wformat-nonliteral --- pkg/libcoap/Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkg/libcoap/Makefile b/pkg/libcoap/Makefile index 1887f76b5e..e6cca7fcc5 100644 --- a/pkg/libcoap/Makefile +++ b/pkg/libcoap/Makefile @@ -12,3 +12,7 @@ all: git-download "$(MAKE)" -C $(PKG_BUILDDIR) include $(RIOTBASE)/pkg/pkg.mk + +ifeq (llvm,$(TOOLCHAIN)) + CFLAGS += -Wno-format-nonliteral +endif