diff options
| author | Ilias Apalodimas <[email protected]> | 2025-05-20 08:21:35 +0300 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2025-05-29 18:42:38 -0600 |
| commit | 0128b2cf4da8bd69c695d56743a666faf159d2d5 (patch) | |
| tree | 180bcee383c6c27cec596456f96540c1d82741ed /Makefile | |
| parent | af1a9935708a30614e3dbf4a33e5fe90e846f598 (diff) | |
kbuild: add -Werror=strict-prototypes flag unconditionally
Backported from kernel
commit eeb5687a7139649e ("kbuild: add -Werror=strict-prototypes flag unconditionally")
Signed-off-by: Ilias Apalodimas <[email protected]>
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -433,7 +433,7 @@ CHECKFLAGS := -D__linux__ -Dlinux -D__STDC__ -Dunix -D__unix__ \ KBUILD_CPPFLAGS := -D__KERNEL__ -D__UBOOT__ -KBUILD_CFLAGS := -Wall -Wstrict-prototypes \ +KBUILD_CFLAGS := -Wall -Werror=strict-prototypes -Wno-trigraphs \ -Wno-format-security \ -fno-builtin -ffreestanding $(CSTD_FLAG) KBUILD_CFLAGS += -fshort-wchar -fno-strict-aliasing |
