ccache: Make ccache aware of OpenWRT provided GCC patch.
authorFelix Fietkau <nbd@openwrt.org>
Tue, 14 Jul 2015 10:30:38 +0000 (10:30 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Tue, 14 Jul 2015 10:30:38 +0000 (10:30 +0000)
commit954719a8d94e4fe984c29b561a93b749a8e04241
treee3041feb98f45fe9db2edfafe185c19f64fe2cfe
parenta7c1cde56d01a8fa9ba4a04220a31c3024cd7b5d
ccache: Make ccache aware of OpenWRT provided GCC patch.

The OpenWRT GCC patch, 910-mbsd_multi.patch adds an extra option
to gcc that depends on an environment variable. Standard ccache
is unaware of this option and therefor can produce stdout from gcc
that doesn't correspond to what you would get if you actually
do a direct compilation with gcc.

This commit adds a patch to ccache to make it aware of the new
option and removes the feature from the ccache package to use the
host system's installed ccache binary.

Signed-off-by: Karl Vogel <karl.vogel@gmail.com>
SVN-Revision: 46364
tools/ccache/Makefile
tools/ccache/patches/100-honour-copts.patch [new file with mode: 0644]