Skip to content

Commit

Permalink
Add warning that enabling compdb disables ccache.
Browse files Browse the repository at this point in the history
Clang uses an additional compiler option to generate the data files
that are compiled into compdb.  Ccache doesn't understand this extra
argument, so it falls back to a full compile of every file.
  • Loading branch information
linuxdude42 committed Dec 17, 2019
1 parent ffdbfdb commit b6aceff
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions mythtv/configure
Expand Up @@ -6479,6 +6479,9 @@ case "$cc_type" in
if test $target_os = "darwin"; then
disable enforce_nullptr
fi
if enabled compdb; then
warn "Enabling clang's compdb support will disable ccache."
fi
;;
esac

Expand Down

0 comments on commit b6aceff

Please sign in to comment.