diff options
author | Stefan Reinauer <stefan.reinauer@coreboot.org> | 2015-06-15 12:26:45 -0700 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2015-06-16 17:44:41 +0200 |
commit | 4dcfa21e6a530cd12234c8898a1f35a8ad9c9d23 (patch) | |
tree | 0c03ddb100640bbf1ecd52ca4911f4e68530bb18 | |
parent | cd5cdd3ba42371cc97b1464fd7b98de5bef05a6a (diff) | |
download | coreboot-4dcfa21e6a530cd12234c8898a1f35a8ad9c9d23.tar.xz |
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@coreboot.org>
Reviewed-on: http://review.coreboot.org/10554
Tested-by: build bot (Jenkins)
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
-rwxr-xr-x | util/xcompile/xcompile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util/xcompile/xcompile b/util/xcompile/xcompile index 07bcde7a6d..7363b196e6 100755 --- a/util/xcompile/xcompile +++ b/util/xcompile/xcompile @@ -166,7 +166,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`" } |