]> git.ipfire.org Git - thirdparty/ccache.git/commit
fix: Handle -MD/-MMD when compiling assembler file
authorJoel Rosdahl <joel@rosdahl.net>
Wed, 19 Oct 2022 20:13:21 +0000 (22:13 +0200)
committerJoel Rosdahl <joel@rosdahl.net>
Wed, 19 Oct 2022 20:27:34 +0000 (22:27 +0200)
commitb53afeb556d55576ed3683fef6566361464393d5
treeb2fd2c70426ed52050b9fef1cac2d653c558ee9f
parent567a1f3c940c881b0718d4b06a04bc2f7f6b5246
fix: Handle -MD/-MMD when compiling assembler file

When compiling an assembler file, -MD and -MMD don't produce any
dependency file, so don't expect one.

Also, make sure to fall back to running the real compiler in case an
expected output file is missing instead of exiting with an error.

Fixes #1189.
doc/MANUAL.adoc
src/argprocessing.cpp
src/ccache.cpp
src/core/Result.cpp
src/core/Result.hpp
src/core/Statistics.cpp
test/suites/direct.bash