diff options
| author | Ilias Apalodimas <[email protected]> | 2025-06-11 23:24:29 +0300 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2025-06-11 16:21:36 -0600 |
| commit | 0ebda5f1f0c96679a7d6d365016ca9294a1c5dd9 (patch) | |
| tree | 87bbf4b0cfc2139dfa3fa89bd280227bb8796eff | |
| parent | 7e81e690d7276283d4a4d988fa47e0965c62c433 (diff) | |
kbuild: add -Werror=implicit-int flag unconditionally
Backported from kernel
commit 61a0902a06d6a ("kbuild: add -Werror=implicit-int flag unconditionally")
Signed-off-by: Ilias Apalodimas <[email protected]>
| -rw-r--r-- | Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -436,7 +436,8 @@ KBUILD_CPPFLAGS := -D__KERNEL__ -D__UBOOT__ KBUILD_CFLAGS := -Wall -Werror=strict-prototypes -Wno-trigraphs \ -Wno-format-security \ -fno-builtin -ffreestanding $(CSTD_FLAG) \ - -fno-PIE + -fno-PIE \ + -Werror-implicit-function-declaration -Werror=implicit-int KBUILD_CFLAGS += -fshort-wchar -fno-strict-aliasing KBUILD_AFLAGS := -D__ASSEMBLY__ -fno-PIE KBUILD_LDFLAGS := |
