aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlejandro Colomar <alx.manpages@gmail.com>2022-05-01 22:59:08 +0200
committerAlejandro Colomar <alx.manpages@gmail.com>2022-05-02 01:46:23 +0200
commitba6bbcb3c8d9079ce35f3f05af5e588fb8e7b97e (patch)
tree941e00bbed87dab184f9d677149aeef9e73a7dfd
parent50201236bd381312e9babfca9a7cac40b7c7b4fd (diff)
downloadman-pages-ba6bbcb3c8d9079ce35f3f05af5e588fb8e7b97e.tar.gz
Makefile: CFLAGS: Don't trigger errors for some warnings
These warnings are due to imperfect APIs. We'll have to assume them. Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 0ec7988ac2..cea48edae4 100644
--- a/Makefile
+++ b/Makefile
@@ -109,6 +109,10 @@ DEFAULT_CFLAGS += -Wall
DEFAULT_CFLAGS += -Wextra
DEAFULT_CFLAGS += -Wstrict-prototypes
DEFAULT_CFLAGS += -Werror
+DEFAULT_CFLAGS += -Wno-error=unused-parameter
+DEFAULT_CFLAGS += -Wno-error=sign-compare
+DEFAULT_CFLAGS += -Wno-error=format
+DEFAULT_CFLAGS += -Wno-error=uninitialized
EXTRA_CFLAGS :=
CFLAGS := $(DEFAULT_CFLAGS) $(EXTRA_CFLAGS)