diff options
author | Nico Huber <nico.h@gmx.de> | 2017-06-24 19:50:35 +0200 |
---|---|---|
committer | Stefan Reinauer <stefan.reinauer@coreboot.org> | 2017-06-26 20:28:27 +0000 |
commit | 08bb837268fb6d5ce84d07c8d9fe0ef4d56ac479 (patch) | |
tree | 1dd4505a719fe1193275200f5600ab5513ee2a7e /util/me_cleaner | |
parent | f652f82137dcaddd8f11641e17fe01250b382fe0 (diff) |
buildgcc: Allow environment to override $CC/$CXX
Also check for the presence of the given commands or "gcc", "cc" in this
order if $CC is empty. To untangle the given compilers from boostrapped
ones, introduce hostcc() and hostcxx() functions that return the respec-
tive compilers to be used.
Change-Id: Ic947be53eec25331173ac82ed742017ca3fbf83c
Signed-off-by: Nico Huber <nico.h@gmx.de>
Reviewed-on: https://review.coreboot.org/20331
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Diffstat (limited to 'util/me_cleaner')
0 files changed, 0 insertions, 0 deletions