Skip to content

Commit

Permalink
compile_commands.json: remove stuff clang doesn't like
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
vathpela committed Aug 25, 2023
1 parent 04111d4 commit 7ba7440
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7ba7440

Please sign in to comment.