summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Jones <pjones@redhat.com>2023-08-22 12:43:02 -0400
committerPeter Jones <pjones@redhat.com>2023-08-25 14:14:45 -0400
commit7ba7440c49d32f911fb9e1c213307947a777085d (patch)
treeafcd5ef2409bcdb2384465b47f1c4483473a3144
parent04111d41f03b6de060209d417f5d18cce3ab2ea2 (diff)
downloadefi-boot-shim-7ba7440c49d32f911fb9e1c213307947a777085d.tar.gz
efi-boot-shim-7ba7440c49d32f911fb9e1c213307947a777085d.zip
compile_commands.json: remove stuff clang doesn't like
This is a "creature comfort" change to make it so gcc-specific options don't make it into compile_commands.json. Signed-off-by: Peter Jones <pjones@redhat.com>
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index aaa927d2..501c7215 100644
--- a/Makefile
+++ b/Makefile
@@ -79,6 +79,9 @@ endif
compile_commands.json : Makefile Make.rules Make.defaults
make clean
bear -- make COMPILER=clang test all
+ sed -i \
+ -e 's/"-maccumulate-outgoing-args",//g' \
+ $@
update :
git submodule update --init --recursive