diff options
author | Marc Jones <marc.jones@se-eng.com> | 2015-06-17 15:38:17 -0600 |
---|---|---|
committer | Stefan Reinauer <stefan.reinauer@coreboot.org> | 2015-06-20 22:17:59 +0200 |
commit | 5ee6951e5ab724730f5ccc69a267be9007b4025f (patch) | |
tree | 931575d0617a44588b3e219a20d78bf8652c4737 /util/crossgcc/buildgcc | |
parent | e021dea777e87180d76ad6ac89f9b54b5f1111ad (diff) |
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>
Diffstat (limited to 'util/crossgcc/buildgcc')
-rwxr-xr-x | util/crossgcc/buildgcc | 3 |
1 files changed, 2 insertions, 1 deletions
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 |