From d6fe19facc61caffb25383d9c25eff86a0e115c8 Mon Sep 17 00:00:00 2001 From: Florian Weimer Date: Mon, 14 Aug 2023 13:48:01 +0200 Subject: [PATCH] configure: Add -Wall again to the default CFLAGS Commit 78ceef25d64efeeb6067d1cb282a00466e637e2a ("configure: Remove --enable-all-warnings option") removed it due to a missing +. Reviewed-by: Siddhesh Poyarekar --- Makeconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makeconfig b/Makeconfig index c4dd9ea8f2..c48fcc59e8 100644 --- a/Makeconfig +++ b/Makeconfig @@ -857,7 +857,7 @@ host-test-program-cmd = $(host-built-program-cmd) endif # Extra flags to pass to GCC. -gccwarn := -Wall -Wwrite-strings -Wundef ++gccwarn := -Wall -Wwrite-strings -Wundef ifeq ($(enable-werror),yes) +gccwarn += -Werror endif