diff options
author | Alejandro Colomar <alx@kernel.org> | 2022-12-24 20:17:08 +0100 |
---|---|---|
committer | Alejandro Colomar <alx@kernel.org> | 2022-12-24 20:17:14 +0100 |
commit | e10172137816c6b79e2b95bdcf490274666f3c5d (patch) | |
tree | 7175b3e1528b26c80f4952d03ebd10da1f25f960 | |
parent | e87b984d0ea5fe6b1fbccba23fd8b4dbdde1c7d5 (diff) |
build-deps.mk: Add warning for declarations after statements
Signed-off-by: Alejandro Colomar <alx@kernel.org>
-rw-r--r-- | lib/build-deps.mk | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/build-deps.mk b/lib/build-deps.mk index f1bfb25..1fec520 100644 --- a/lib/build-deps.mk +++ b/lib/build-deps.mk @@ -36,6 +36,7 @@ DEFAULT_CFLAGS := -O3 DEFAULT_CFLAGS += -Wall DEFAULT_CFLAGS += -Wextra DEFAULT_CFLAGS += -Wstrict-prototypes +DEFAULT_CFLAGS += -Wdeclaration-after-statement DEFAULT_CFLAGS += -Werror DEFAULT_CFLAGS += -Wno-unknown-pragmas DEFAULT_CFLAGS += -I$(builddir) |