Makefile: avoid false positive -Wmaybe-uninitialized
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Sun, 31 Jul 2022 08:06:13 +0000 (10:06 +0200)
committerTom Rini <trini@konsulko.com>
Wed, 10 Aug 2022 17:46:55 +0000 (13:46 -0400)
commit8602d97ca2cf3e06387251afddc281d1d1841f50
tree68cd46bc9c4dfdee4d66777956eb331b7f1d28b8
parent4e4bf9449b4f436419490a4a8cf4de17433cac15
Makefile: avoid false positive -Wmaybe-uninitialized

When compiling with -Og gcc reports false positive -Wmaybe-uninitialized as
reported in https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78394.

Silence these warnings when building with CONFIG_CC_OPTIMIZE_FOR_DEBUG.

Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Makefile