cache does not handle -fsanitize=thread at least
Submitted by Colin Walters
Link to original bug (#774639)
Description
I was turning on/off -fsanitize=thread
, and when I turned it off I was really confused why I was getting linker failures. I thought the guilty party was ccache, but it actually required blowing away ~/.cache/g-ir-scanner.