From 3d243e3af895031e4a51113df9b7c51e09792347 Mon Sep 17 00:00:00 2001 From: Rob Browning Date: Fri, 14 Aug 2020 20:13:15 -0500 Subject: [PATCH] Makefile: specify -Wformat=2 rather than error given -Werror Signed-off-by: Rob Browning --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index e4bc7d6..43d6a00 100644 --- a/Makefile +++ b/Makefile @@ -28,7 +28,7 @@ current_sampledata := t/sampledata/var/rev/v$(sampledata_rev) os := $(shell ($(pf); uname | sed 's/[-_].*//') $(isok)) os := $(call shout,$(os),Unable to determine OS) -CFLAGS := -Wall -Werror=format=2 -O2 -Werror -Wno-unknown-pragmas $(CFLAGS) +CFLAGS := -Wall -Wformat=2 -O2 -Werror -Wno-unknown-pragmas $(CFLAGS) CFLAGS := -D_FILE_OFFSET_BITS=64 $(PYINCLUDE) $(CFLAGS) SOEXT:=.so -- 2.39.2