mirror of
https://github.com/u-boot/u-boot.git
synced 2024-11-24 04:34:22 +08:00
Makefile: don't add -Wno-maybe-uninitialized twice
Avoid adding the same flag to KBUILD_CFLAGS twice.
Fixes: 8602d97ca2
("Makefile: avoid false positive -Wmaybe-uninitialized")
Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Reviewed-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
This commit is contained in:
parent
faa6c619bd
commit
5ab013424e
2
Makefile
2
Makefile
@ -717,7 +717,7 @@ KBUILD_CFLAGS += -O2
|
||||
endif
|
||||
|
||||
ifdef CONFIG_CC_OPTIMIZE_FOR_DEBUG
|
||||
KBUILD_CFLAGS += -Og -Wno-maybe-uninitialized
|
||||
KBUILD_CFLAGS += -Og
|
||||
# Avoid false positives -Wmaybe-uninitialized
|
||||
# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78394
|
||||
KBUILD_CFLAGS += -Wno-maybe-uninitialized
|
||||
|
Loading…
Reference in New Issue
Block a user