configure: Add -Wall again to the default CFLAGS
authorFlorian Weimer <fweimer@redhat.com>
Mon, 14 Aug 2023 11:48:01 +0000 (13:48 +0200)
committerFlorian Weimer <fweimer@redhat.com>
Tue, 15 Aug 2023 06:07:50 +0000 (08:07 +0200)
Commit 78ceef25d64efeeb6067d1cb282a00466e637e2a ("configure: Remove
--enable-all-warnings option") removed it due to a missing +.

Reviewed-by: Siddhesh Poyarekar <siddhesh@sourceware.org>
Makeconfig

index c4dd9ea..c48fcc5 100644 (file)
@@ -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