[coreboot-gerrit] New patch to review for coreboot: 0f23821 xcompile: Fix errors thrown during make gitconfig

Stefan Reinauer (stefan.reinauer@coreboot.org) gerrit at coreboot.org
Mon Jun 8 19:55:49 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/10464

-gerrit

commit 0f23821c55223670ae8d51e0cb95e43b1c98b8aa
Author: Stefan Reinauer <stefan.reinauer at coreboot.org>
Date:   Mon Jun 8 19:54:01 2015 +0200

    xcompile: Fix errors thrown during make gitconfig
    
    $ make gitconfig
    util/xcompile/xcompile: line 164: -print-librt-file-name: command not found
    util/xcompile/xcompile: line 164: -print-librt-file-name: command not found
    util/xcompile/xcompile: line 164: -print-librt-file-name: command not found
    util/xcompile/xcompile: line 164: -print-librt-file-name: command not found
    [..]
    
    Change-Id: Ib477566e3841e419aa7880c912636540a0ad5432
    Signed-off-by: Stefan Reinauer <stefan.reinauer at coreboot.org>
---
 util/xcompile/xcompile | 2 ++
 1 file changed, 2 insertions(+)

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



More information about the coreboot-gerrit mailing list