]> arthur.barton.de Git - bup.git/blobdiff - Makefile
Makefile: specify -Wformat=2 rather than error given -Werror
[bup.git] / Makefile
index e4bc7d655b5285ab5207b2367daef4f92b528040..43d6a00c52c0b4bb8fc6960d4d45fddbd843d889 100644 (file)
--- 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