From: Florian Weimer Date: Mon, 14 Aug 2023 11:48:01 +0000 (+0200) Subject: configure: Add -Wall again to the default CFLAGS X-Git-Tag: upstream/2.39~502 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d6fe19facc61caffb25383d9c25eff86a0e115c8;p=platform%2Fupstream%2Fglibc.git 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 --- 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