summaryrefslogtreecommitdiff
path: root/makefile
diff options
context:
space:
mode:
authorKacper <kacper@mail.openlinux.dev>2025-12-09 23:14:53 +0100
committerKacper <kacper@mail.openlinux.dev>2025-12-09 23:14:53 +0100
commit169daa11155988a210fac949297381743f3cb400 (patch)
tree602ef5df5ae9ea075ab3d5dac3c8ad60da1ea2cc /makefile
parent4e2112e165fdd94dee58378e3ea32892f3710cd7 (diff)
feat: clang-tidy fixes
Diffstat (limited to 'makefile')
-rw-r--r--makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/makefile b/makefile
index ed552e29..a322da35 100644
--- a/makefile
+++ b/makefile
@@ -57,7 +57,7 @@ endif
# CFLAGS
-KBUILD_CFLAGS :=
+KBUILD_CFLAGS := -x c
KBUILD_CFLAGS += -Wall -Wextra
KBUILD_CFLAGS += -nostdinc
@@ -152,7 +152,7 @@ include-what-you-use: compile_commands.json
--reorder
clang-tidy: compile_commands.json
- $(Q)clang-tidy -header-filter=.* -p=. -fix -fix-errors $(shell find . -name '*.c' -o -name '*.h' | grep -v './scripts/\|dtoa\|linux\|arch\|bits') \
+ $(Q)clang-tidy -header-filter=.* -p=. -fix -fix-errors $(shell find . -name '*.c' -o -name '*.h' | grep -v './scripts/\|dtoa\|linux\|arch\|bits\|libm') \
--export-fixes=clang-tidy-fixes.yaml
clang-format: