[coreboot-gerrit] Patch set updated for coreboot: buildgcc: Update clang search string

Marc Jones (marc.jones@se-eng.com) gerrit at coreboot.org
Thu Jun 18 23:09:56 CEST 2015

Marc Jones (marc.jones at se-eng.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/10569


commit bed51547e4ae3ddbee43778baa74d8833303c0c0
Author: Marc Jones <marc.jones at se-eng.com>
Date:   Wed Jun 17 15:38:17 2015 -0600

    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 at se-eng.com>
 util/crossgcc/buildgcc | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/util/crossgcc/buildgcc b/util/crossgcc/buildgcc
index 657df2c..ddb6c4c 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

More information about the coreboot-gerrit mailing list