From: Rob Browning Date: Sat, 15 Aug 2020 01:13:15 +0000 (-0500) Subject: Makefile: specify -Wformat=2 rather than error given -Werror X-Git-Tag: 0.31~7 X-Git-Url: https://arthur.barton.de/gitweb/?p=bup.git;a=commitdiff_plain;h=3d243e3af895031e4a51113df9b7c51e09792347 Makefile: specify -Wformat=2 rather than error given -Werror Signed-off-by: Rob Browning --- 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