[coreboot-gerrit] New patch to review for coreboot: xcompile: remove -ccc-gcc-name option for clang

Martin Roth (martinroth@google.com) gerrit at coreboot.org
Fri Dec 18 00:42:32 CET 2015


Martin Roth (martinroth at google.com) just uploaded a new patch set to gerrit, which you can find at https://review.coreboot.org/12776

-gerrit

commit b2ea09aecf5b7b5b54e395e92b3fe86ab43024dd
Author: Martin Roth <martinroth at google.com>
Date:   Thu Dec 17 16:42:07 2015 -0700

    xcompile: remove -ccc-gcc-name option for clang
    
    with this option, we get a failure when trying to build with clang:
    clang: error: unable to execute command: Executable
    "i386-elf-/coreboot/util/crossgcc/xgcc/bin/i386-elf-gcc"
    doesn't exist!
    
    Change-Id: Ib4bf06814c05aa61bcac030abfadbf20817fbf25
    Signed-off-by: Martin Roth <martinroth at google.com>
---
 util/xcompile/xcompile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/util/xcompile/xcompile b/util/xcompile/xcompile
index 635bcd6..6c933c0 100755
--- a/util/xcompile/xcompile
+++ b/util/xcompile/xcompile
@@ -348,7 +348,7 @@ test_architecture() {
 		# FIXME: this may break in a clang && !gcc configuration,
 		# but that's more of a clang limitation. Let's be optimistic
 		# that this will change in the future.
-		CLANG="clang -target ${clang_arch}-${TABI} -ccc-gcc-name ${GCC}"
+		CLANG="clang -target ${clang_arch}-${TABI}"
 	fi
 
 	if [ -z "$GCC" -a -z "$CLANG" -a "power8" != "$architecture" ]; then



More information about the coreboot-gerrit mailing list