commit:     a28fb6f93bfed98b8f43265cb18b5766bde4ef91
Author:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
AuthorDate: Tue Apr  5 16:15:51 2016 +0000
Commit:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
CommitDate: Tue Apr  5 16:15:51 2016 +0000
URL:        https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=a28fb6f9

configure_toolchain: squash annoying message from gcc wrapper

 scripts/bootstrap-prefix.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/bootstrap-prefix.sh b/scripts/bootstrap-prefix.sh
index 8bba76f..8492191 100755
--- a/scripts/bootstrap-prefix.sh
+++ b/scripts/bootstrap-prefix.sh
@@ -157,7 +157,7 @@ configure_toolchain() {
                        # for compilers choice, see bug:
                        # https://bugs.gentoo.org/show_bug.cgi?id=538366
                        compiler_stage1="sys-apps/darwin-miscutils sys-libs/csu"
-                       case "$( (unset CHOST; gcc --version) )" in
+                       case "$( (unset CHOST; gcc --version 2>/dev/null) )" in
                                *"(GCC) 4.2.1 "*|*"Apple LLVM version "*)
                                        linker=sys-devel/binutils-apple
                                        if type -P clang > /dev/null ; then

Reply via email to