commit:     e8e0f7f4c06a8ddbe113ebe6413c6d5f1925c84d
Author:     Benda Xu <heroxbd <AT> gentoo <DOT> org>
AuthorDate: Mon Jan 27 02:41:04 2020 +0000
Commit:     Benda XU <heroxbd <AT> gentoo <DOT> org>
CommitDate: Mon Jan 27 02:53:04 2020 +0000
URL:        https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=e8e0f7f4

s/bootstrap-prefix.sh: Disable stage2 gcc /usr/local/include lookup.

  stage2 gcc searching inside /usr/local/include induces errors with
  exotic headers.

Signed-off-by: Benda Xu <heroxbd <AT> gentoo.org>

 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 3bb523071c..2abc3905d4 100755
--- a/scripts/bootstrap-prefix.sh
+++ b/scripts/bootstrap-prefix.sh
@@ -1717,7 +1717,7 @@ bootstrap_stage2() {
        for pkg in ${compiler_stage1} ; do
                # <glibc-2.5 does not understand .gnu.hash, use
                # --hash-style=both to produce also sysv hash.
-               EXTRA_ECONF="--disable-bootstrap $(rapx 
--with-linker-hash-style=both)" \
+               EXTRA_ECONF="--disable-bootstrap $(rapx 
--with-linker-hash-style=both) --with-local-prefix=${ROOT}" \
                MYCMAKEARGS="-DCMAKE_USE_SYSTEM_LIBRARY_LIBUV=OFF" \
                GCC_MAKE_TARGET=all \
                TPREFIX="${ROOT}" \

Reply via email to