commit:     4b9b293f2ff9928abe85a0cffd9626ab3149e9f9
Author:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
AuthorDate: Tue Feb  2 19:47:57 2016 +0000
Commit:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
CommitDate: Tue Feb  2 19:47:57 2016 +0000
URL:        https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=4b9b293f

scripts/bootstrap-prefix: fix compilation of grep with bootstrap compiler

 scripts/bootstrap-prefix.sh | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/scripts/bootstrap-prefix.sh b/scripts/bootstrap-prefix.sh
index 8315397..91473d2 100755
--- a/scripts/bootstrap-prefix.sh
+++ b/scripts/bootstrap-prefix.sh
@@ -1246,6 +1246,10 @@ bootstrap_stage3() {
                virtual/os-headers
                sys-apps/portage
        )
+       # for grep we need to do a little workaround as we use llvm-3.4
+       # here, which doesn't necessarily grok the system headers on newer
+       # OSX, confusing the buildsystem
+       ac_cv_c_decl_report=warning \
        emerge_pkgs "" "${pkgs[@]}" || return 1
 
        # Switch to the proper portage.

Reply via email to