ccache: Make ccache aware of OpenWRT provided GCC patch.
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Tue, 14 Jul 2015 10:30:38 +0000 (10:30 +0000)
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Tue, 14 Jul 2015 10:30:38 +0000 (10:30 +0000)
commit7ebd8b7d0b28140a3621c85cfef6a2345b217432
treee3041feb98f45fe9db2edfafe185c19f64fe2cfe
parent8852b318692606769bff57086fb97747c0818f01
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46364 3c298f89-4303-0410-b956-a3cf2f4a3e73
tools/ccache/Makefile
tools/ccache/patches/100-honour-copts.patch [new file with mode: 0644]