[PATCH 1/1] Makefile: avoid false positive -Wmaybe-uninitialized
Simon Glass
sjg at chromium.org
Sun Jul 31 20:41:24 CEST 2022
On Sun, 31 Jul 2022 at 02:06, Heinrich Schuchardt
<heinrich.schuchardt at canonical.com> wrote:
>
> 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 at canonical.com>
> ---
> Makefile | 8 +++++++-
> 1 file changed, 7 insertions(+), 1 deletion(-)
Reviewed-by: Simon Glass <sjg at chromium.org>
More information about the U-Boot
mailing list