Jonathan Neuschäfer (j.neuschaefer@gmx.net) just uploaded a new patch set to gerrit, which you can find at https://review.coreboot.org/17931
-gerrit
commit 606a6a367a17aa90f054d695a42ccf7ad8e934d4 Author: Jonathan Neuschäfer j.neuschaefer@gmx.net Date: Wed Dec 21 01:26:03 2016 +0100
buildgcc: Allow overriding $CC
Change-Id: Ib9eea6f03ca85c68708be1fe1ef94c108e957efb Signed-off-by: Jonathan Neuschäfer j.neuschaefer@gmx.net --- util/crossgcc/buildgcc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/util/crossgcc/buildgcc b/util/crossgcc/buildgcc index 97c38b8..f02f43e 100755 --- a/util/crossgcc/buildgcc +++ b/util/crossgcc/buildgcc @@ -886,7 +886,9 @@ searchtool bzip2 "bzip2," > /dev/null
check_for_library "-lz" "zlib (zlib1g-dev or zlib-devel)"
-CC=cc +if [ -z "$CC" ]; then + CC=cc +fi check_cc
if [ "$HALT_FOR_TOOLS" -ne 0 ]; then