hostcc/hostcxx: fix noccache variant setting
authorMike Frysinger <vapier@gentoo.org>
Mon, 28 Mar 2011 07:18:47 +0000 (03:18 -0400)
committerPeter Korsgaard <jacmet@sunsite.dk>
Mon, 28 Mar 2011 08:29:35 +0000 (10:29 +0200)
commit0df02e1233c5990391c030f40ab4263cfaa83a40
tree1e435c7a294d025def869bc2058446add832500d
parent5d6ff452add2d4e902409ed35accfa59adba37f2
hostcc/hostcxx: fix noccache variant setting

The current code accidentally sets up HOSTCC_NOCCACHE and HOSTCXX_NOCCACHE
only when the respective HOSTCC or HOSTCXX values are not set.  So if you
do something like:
make HOSTCC=gcc menuconfig
The build fails because HOSTCC_NOCCACHE is not set anywhere.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Makefile