From ab06527eb0d5ca750eb50aac0d3d37d644b363d6 Mon Sep 17 00:00:00 2001 From: Peter Jones Date: Tue, 17 Dec 2024 11:07:55 -0500 Subject: Makefile: don't warn about clang when building compile_commands.json This make target doesn't actually use any of the objects built by the compiler, so there's no concern about using an untested compiler or anything like that. It doesn't really need the warnings to show either, and they're obnoxious, so this commit takes them out for that build target. Signed-off-by: Peter Jones --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 1698186d..a32de489 100644 --- a/Makefile +++ b/Makefile @@ -86,7 +86,7 @@ endif compile_commands.json : Makefile Make.rules Make.defaults make clean - bear -- make COMPILER=clang test all + bear -- make COMPILER=clang WARNFLAGS+="-Wno-#warnings" test all sed -i \ -e 's/"-maccumulate-outgoing-args",//g' \ $@ -- cgit v1.2.3