summaryrefslogtreecommitdiff
path: root/makefile
diff options
context:
space:
mode:
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: