I know the standard way of cross compiling an autoconf-based project:
$ ./configure --host=i686-w64-mingw32
However, what if I want to use ccache?
I know I can override the CC and CXX variables (e.g CC="ccache i686-w64-mingw32-gcc" ./configure --host=i686-w64-mingw32). However, this seems redundant and error prone.
Is there a standard way, I'm missing, like some CC_PREFIX variable?