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)
commit388647b580df44a94417cb7a8cc2fc54d581f552
treeab2af6c3f605a3a4331b6450203f8fae6b914292
parentcf93a8f2272e2a009f06a0c231a5db95edc33042
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]