Skip to content

Commit a83c482

Browse files
committed
Disable parse_headers feature when generating compilation database.
This works around hedronvision/bazel-compile-commands-extractor#199.
1 parent debdf86 commit a83c482

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Makefile

+2-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,8 @@ check: all check-extra
3030
./check.ps1
3131

3232
GENERATE_BAZELFLAGS = $(BAZELFLAGS) --lockfile_mode=off
33-
COMPDB_BAZELFLAGS = $(GENERATE_BAZELFLAGS) --output_groups=-check_python
33+
COMPDB_BAZELFLAGS = $(GENERATE_BAZELFLAGS) --output_groups=-check_python \
34+
--features=-parse_headers --host_features=-parse_headers
3435
COVERAGE_BAZELFLAGS = $(GENERATE_BAZELFLAGS)
3536

3637
compdb:

0 commit comments

Comments
 (0)