summaryrefslogtreecommitdiff
path: root/util/xcompile
diff options
context:
space:
mode:
authorNico Huber <nico.h@gmx.de>2017-06-24 19:50:35 +0200
committerStefan Reinauer <stefan.reinauer@coreboot.org>2017-06-26 20:28:27 +0000
commit08bb837268fb6d5ce84d07c8d9fe0ef4d56ac479 (patch)
tree1dd4505a719fe1193275200f5600ab5513ee2a7e /util/xcompile
parentf652f82137dcaddd8f11641e17fe01250b382fe0 (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/xcompile')
0 files changed, 0 insertions, 0 deletions