From 931e6da0ab74f22a95d7a417863a69eeb4186990 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20van=20Dorst?= Date: Sun, 20 Sep 2026 20:54:35 +0200 Subject: [PATCH] Makefile: Add option CI to turn all warnings into errors --- Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Makefile b/Makefile index 4b0190d2..a35e8da9 100644 --- a/Makefile +++ b/Makefile @@ -20,6 +20,10 @@ else CC_FLAGS += -DMACHINE_$(MACHINE) endif +ifeq ($(CI),1) + CC_FLAGS += --Werror +endif + BUILDDIR = output/$(MACHINE) VERSION_HEADER := version.h