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 <marc.jones@se-eng.com>
Reviewed-on: http://review.coreboot.org/10569
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Tested-by: build bot (Jenkins)
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
This commit is contained in:
Marc Jones 2015-06-17 15:38:17 -06:00 committed by Stefan Reinauer
parent e021dea777
commit 5ee6951e5a
1 changed files with 2 additions and 1 deletions

View File

@ -578,7 +578,8 @@ searchtool m4 > /dev/null
searchtool bison > /dev/null searchtool bison > /dev/null
searchtool flex flex > /dev/null searchtool flex flex > /dev/null
searchtool g++ "Free Software Foundation" nofail > /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 wget > /dev/null
searchtool bzip2 "bzip2," > /dev/null searchtool bzip2 "bzip2," > /dev/null