Skip to content

Commit

Permalink
ignore -### from compilation database
Browse files Browse the repository at this point in the history
  • Loading branch information
rizsotto committed Sep 18, 2015
1 parent 3ba06d7 commit 792ce2b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libscanbuild/command.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ def action(values, value):
# compiler action parameters are the most important ones...
if arg == '-c':
action(state, Action.Compile)
elif arg in {'-E', '-S', '-cc1', '-M', '-MM'}:
elif arg in {'-E', '-S', '-cc1', '-M', '-MM', '-###'}:
action(state, Action.Ignored)
# take arch flags
elif arg == '-arch':
Expand Down

0 comments on commit 792ce2b

Please sign in to comment.