pkg/oonf_api: Build with -Wno-format-nonliteral

This commit is contained in:
Joakim Nohlgård 2018-06-15 01:01:19 +02:00 committed by Gaëtan Harter
parent 7cb21f651a
commit 209050d382
No known key found for this signature in database
GPG Key ID: 76DF6BCF1B1F883B

View File

@ -18,3 +18,6 @@ $(BINDIR)/$(MODULE).a: $(BINDIR)/oonf_*.a
mkdir -p $(BINDIR)/$(MODULE); cd $(BINDIR)/$(MODULE); for var in $?; do ar -x $$var; done; ar -r -c -s $(BINDIR)/$(MODULE).a *.o
include $(RIOTBASE)/pkg/pkg.mk
ifneq (,$(filter -Wformat-nonliteral -Wformat=2, $(CFLAGS)))
CFLAGS += -Wno-format-nonliteral
endif