From 94090654695bce5d00ef5a833fbd21f0d3ef195b Mon Sep 17 00:00:00 2001 From: "Kelvin M. Klann" Date: Wed, 31 May 2023 05:12:14 -0300 Subject: build: enable compiler warnings by default Enable -Wall by default and add -Wextra. --- configure | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'configure') diff --git a/configure b/configure index dd210cd67..ceb09bd31 100755 --- a/configure +++ b/configure @@ -1391,7 +1391,7 @@ Optional Features: --disable-x11 disable X11 sandboxing support --disable-file-transfer disable file transfer --disable-suid install as a non-SUID executable - --enable-fatal-warnings -W -Wall -Werror + --enable-fatal-warnings -W -Werror --enable-busybox-workaround enable busybox workaround --enable-gcov Gcov instrumentation @@ -3601,7 +3601,7 @@ fi if test "x$enable_fatal_warnings" = "xyes"; then : - HAVE_FATAL_WARNINGS="-W -Wall -Werror" + HAVE_FATAL_WARNINGS="-W -Werror" fi -- cgit v1.2.3-70-g09d2