From e9b7e25708db1eb234c87def87a8e4e9b5c03b28 Mon Sep 17 00:00:00 2001 From: Paul Menzel Date: Thu, 9 Apr 2015 18:15:09 +0200 Subject: util/xcompile/xcompile: Allow to override `HOSTCC` variable MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Currently `xcompile` generates `.xcompile` with the following at the top. # platform agnostic and host tools IASL:=iasl HOSTCC:=gcc The assignment `:=` doesn’t allow to override the variable. So use `?=` instead so the host compiler can be passed to coreboot. HOSTCC=gcc-5 make Note, that this is just a hack, as the existence of `gcc` is checked beforehand. Change-Id: Iebf3e43eb7eaffa7cf0efe97710d9feb3fe2a989 Signed-off-by: Paul Menzel Reviewed-on: http://review.coreboot.org/9457 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi --- util/xcompile/xcompile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/xcompile/xcompile b/util/xcompile/xcompile index e079c9d81d..ebc346b56f 100755 --- a/util/xcompile/xcompile +++ b/util/xcompile/xcompile @@ -63,7 +63,7 @@ fi cat <