]> git.ipfire.org Git - thirdparty/ccache.git/commit
Bail out on “-MF /dev/null”
authorJoel Rosdahl <joel@rosdahl.net>
Wed, 1 May 2019 11:58:18 +0000 (13:58 +0200)
committerJoel Rosdahl <joel@rosdahl.net>
Wed, 1 May 2019 11:58:18 +0000 (13:58 +0200)
commit253301e7ac56a9d2bed1f03a91ba73be102a0d42
treebb69196e89c42d66e74645c50156e0d7a35104dc
parent0ac58a394a08202c594ea170fdf12673d7891fd7
Bail out on “-MF /dev/null”

This is an alternative fix for #397, based on the observation/assumption
that using “-MF /dev/null” is only ever used as part of a compiler probe
call in combination with “-c /dev/null -o /dev/null”, so there is little
reason to cache the result. The advantage of just bailing out is to
reduce the number of special cases we have to handle.
src/ccache.c
test/suites/depend.bash
test/suites/direct.bash