summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Jones <pjones@redhat.com>2024-12-17 11:07:55 -0500
committerPeter Jones <pjones@redhat.com>2024-12-17 13:35:41 -0500
commitab06527eb0d5ca750eb50aac0d3d37d644b363d6 (patch)
tree234514ab814615398eb93c6743aeb18e1d387e23
parent5f541823991d26f80f66f6e8e188c7cb246fe316 (diff)
downloadefi-boot-shim-ab06527eb0d5ca750eb50aac0d3d37d644b363d6.tar.gz
efi-boot-shim-ab06527eb0d5ca750eb50aac0d3d37d644b363d6.zip
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 <pjones@redhat.com>
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
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' \
$@