diff options
| author | Giovanni Santini <[email protected]> | 2026-05-18 22:46:05 +0200 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2026-06-02 17:30:06 -0600 |
| commit | 81d60060831afa50a43a6dcaf8e34932e6b8ccc2 (patch) | |
| tree | 5d4588ca42f83147d8a0e48e7b6314e69c7208e0 | |
| parent | b353d523a86775663ca2eebcd4741f3f3a9b1fe4 (diff) | |
Makefile: fix extra dash in KBUILD_CFLAGS
Remove an extra leading dash from the KBUILD_CFLAGS assignment
under the CONFIG_CC_OPTIMIZE_FOR_DEBUG conditional block. The
extra dash breaks the build when CONFIG_CC_OPTIMIZE_FOR_DEBUG
is enabled.
Fixes: 56ae3c2a44fc ("Makefile: repair CONFIG_CC_OPTIMIZE_FOR_DEBUG support")
Signed-off-by: Giovanni Santini <[email protected]>
Reviewed-by: Simon Glass <[email protected]>
| -rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -920,7 +920,7 @@ endif ifdef CONFIG_CC_OPTIMIZE_FOR_SIZE KBUILD_CFLAGS += -Os else ifdef CONFIG_CC_OPTIMIZE_FOR_DEBUG --KBUILD_CFLAGS += -Og +KBUILD_CFLAGS += -Og # Avoid false positives -Wmaybe-uninitialized # https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78394 KBUILD_CFLAGS += -Wno-maybe-uninitialized |
