* [PATCH 1/1] Makefile: don't add -Wno-maybe-uninitialized twice
@ 2024-04-16 7:35 Heinrich Schuchardt
2024-04-22 9:38 ` Quentin Schulz
2024-04-29 23:03 ` Tom Rini
0 siblings, 2 replies; 3+ messages in thread
From: Heinrich Schuchardt @ 2024-04-16 7:35 UTC (permalink / raw
To: Tom Rini
Cc: Simon Glass, Sumit Garg, Bryan Brattlof, Jesse Taube,
Leon M . Busch-George, u-boot, Heinrich Schuchardt
Avoid adding the same flag to KBUILD_CFLAGS twice.
Fixes: 8602d97ca2cf ("Makefile: avoid false positive -Wmaybe-uninitialized")
Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
---
Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Makefile b/Makefile
index 7321fe1499e..47f3ec82b87 100644
--- a/Makefile
+++ b/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
--
2.43.0
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH 1/1] Makefile: don't add -Wno-maybe-uninitialized twice
2024-04-16 7:35 [PATCH 1/1] Makefile: don't add -Wno-maybe-uninitialized twice Heinrich Schuchardt
@ 2024-04-22 9:38 ` Quentin Schulz
2024-04-29 23:03 ` Tom Rini
1 sibling, 0 replies; 3+ messages in thread
From: Quentin Schulz @ 2024-04-22 9:38 UTC (permalink / raw
To: Heinrich Schuchardt, Tom Rini
Cc: Simon Glass, Sumit Garg, Bryan Brattlof, Jesse Taube,
Leon M . Busch-George, u-boot
Hi Heinrich,
On 4/16/24 09:35, Heinrich Schuchardt wrote:
> Avoid adding the same flag to KBUILD_CFLAGS twice.
>
> Fixes: 8602d97ca2cf ("Makefile: avoid false positive -Wmaybe-uninitialized")
> Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Reviewed-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
Thanks,
Quentin
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH 1/1] Makefile: don't add -Wno-maybe-uninitialized twice
2024-04-16 7:35 [PATCH 1/1] Makefile: don't add -Wno-maybe-uninitialized twice Heinrich Schuchardt
2024-04-22 9:38 ` Quentin Schulz
@ 2024-04-29 23:03 ` Tom Rini
1 sibling, 0 replies; 3+ messages in thread
From: Tom Rini @ 2024-04-29 23:03 UTC (permalink / raw
To: Heinrich Schuchardt
Cc: Simon Glass, Sumit Garg, Bryan Brattlof, Jesse Taube,
Leon M . Busch-George, u-boot
On Tue, 16 Apr 2024 09:35:24 +0200, Heinrich Schuchardt wrote:
> Avoid adding the same flag to KBUILD_CFLAGS twice.
>
>
Applied to u-boot/master, thanks!
--
Tom
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2024-04-29 23:04 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-04-16 7:35 [PATCH 1/1] Makefile: don't add -Wno-maybe-uninitialized twice Heinrich Schuchardt
2024-04-22 9:38 ` Quentin Schulz
2024-04-29 23:03 ` Tom Rini
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.