]> git.ipfire.org Git - thirdparty/ccache.git/commit
Clang emits warnings for unused linker arguments, respect that!
authorEdward Z. Yang <ezyang@fb.com>
Fri, 30 Jun 2017 14:35:29 +0000 (07:35 -0700)
committerJoel Rosdahl <joel@rosdahl.net>
Thu, 11 Jan 2018 20:02:33 +0000 (21:02 +0100)
commitda4fa01e97938fd969fbe0cf616fdaeccd87d6f3
tree72cc829b644bf223e0108c924da6a38bb7736355
parent3f96ae31e61e2cee64fba2bf58a424f4a51abafe
Clang emits warnings for unused linker arguments, respect that!

If ccache concludes the invocation with/without linker arguments
is the same as before, then it may show/fail to show a warning
when it should.  I know we're not supposed to rely on the
is clang check, but this solves it in normal cases.

Fixes #189.

Signed-off-by: Edward Z. Yang <ezyang@fb.com>
ccache.c