From 5ee6951e5ab724730f5ccc69a267be9007b4025f Mon Sep 17 00:00:00 2001 From: Marc Jones Date: Wed, 17 Jun 2015 15:38:17 -0600 Subject: buildgcc: Update clang search string buildgcc fails if g++ or clang isn't found on the host. This was failing on OSX due to the string used to check for clang doesn't match "Apple LLVM". Add an additional search string for clang "LLVM". Change-Id: I05e36cfc690061b3233376d57f44f197cab933ea Signed-off-by: Marc Jones Reviewed-on: http://review.coreboot.org/10569 Reviewed-by: Patrick Georgi Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer --- util/crossgcc/buildgcc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'util') diff --git a/util/crossgcc/buildgcc b/util/crossgcc/buildgcc index 657df2cc13..ddb6c4c71d 100755 --- a/util/crossgcc/buildgcc +++ b/util/crossgcc/buildgcc @@ -578,7 +578,8 @@ searchtool m4 > /dev/null searchtool bison > /dev/null searchtool flex flex > /dev/null searchtool g++ "Free Software Foundation" nofail > /dev/null || \ -searchtool clang "clang version" > /dev/null +searchtool clang "clang version" nofail > /dev/null || \ +searchtool clang "LLVM" > /dev/null searchtool wget > /dev/null searchtool bzip2 "bzip2," > /dev/null -- cgit v1.2.3