Silent properly GCC format-truncation warnings in jansson

This commit is contained in:
Philippe Teuwen
2019-07-10 22:32:55 +02:00
parent e53ac8b715
commit 73bbb2e9e8
2 changed files with 10 additions and 5 deletions

View File

@@ -40,9 +40,6 @@ platform = $(shell uname)
CC= gcc
CFLAGS= -O2 -Wall -Wno-unused-variable -Wno-unused-function
ifneq ($(platform),Darwin)
CFLAGS += -Wno-format-truncation
endif
LDFLAGS= $(SYSLDFLAGS) $(libjansson_la_LDFLAGS)
LIBS= $(SYSLIBS) $(MYLIBS)