summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--auto/make8
1 files changed, 8 insertions, 0 deletions
diff --git a/auto/make b/auto/make
index 1d54ab40..6c6d7e94 100644
--- a/auto/make
+++ b/auto/make
@@ -63,6 +63,14 @@ ifeq (\$D,1)
CFLAGS += -O0
endif
+# Optionally disable -Werror with
+# make E=0 ...
+E := 1
+
+ifeq (\$E,0)
+ CFLAGS += -Wno-error
+endif
+
END
fi