[coreboot-gerrit] New patch to review for coreboot: xcompile: Don't print error messages

Stefan Reinauer (stefan.reinauer@coreboot.org) gerrit at coreboot.org
Mon Jun 15 21:38:23 CEST 2015


Stefan Reinauer (stefan.reinauer at coreboot.org) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/10554

-gerrit

commit 550af60a9061a233e1f7a495e6283bfd22576b86
Author: Stefan Reinauer <stefan.reinauer at coreboot.org>
Date:   Mon Jun 15 12:26:45 2015 -0700

    xcompile: Don't print error messages
    
    Don't print error messages if an unpatched clang is detected.
    
    Change-Id: If77722a40a59e99f01d121a0c43999f05f3c4421
    Signed-off-by: Stefan Reinauer <stefan.reinauer at coreboot.org>
---
 util/xcompile/xcompile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/util/xcompile/xcompile b/util/xcompile/xcompile
index 97dd7c4..9bdf10f 100755
--- a/util/xcompile/xcompile
+++ b/util/xcompile/xcompile
@@ -162,7 +162,7 @@ detect_special_flags() {
 
 detect_compiler_runtime() {
 	test -z "$CLANG" || \
-	CC_RT_CLANG="`${CLANG} ${CFLAGS} -print-librt-file-name`"
+	CC_RT_CLANG="`${CLANG} ${CFLAGS} -print-librt-file-name 2>/dev/null`"
 	test -z "$GCC" || \
 	CC_RT_GCC="`${GCC} ${CFLAGS} -print-libgcc-file-name`"
 }



More information about the coreboot-gerrit mailing list