Is there any reason ccache couldn't support -Wp,-D options?
Moved to https://github.com/ccache/ccache/issues/100.