1 |
commit: e8e0f7f4c06a8ddbe113ebe6413c6d5f1925c84d |
2 |
Author: Benda Xu <heroxbd <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Jan 27 02:41:04 2020 +0000 |
4 |
Commit: Benda XU <heroxbd <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Jan 27 02:53:04 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=e8e0f7f4 |
7 |
|
8 |
s/bootstrap-prefix.sh: Disable stage2 gcc /usr/local/include lookup. |
9 |
|
10 |
stage2 gcc searching inside /usr/local/include induces errors with |
11 |
exotic headers. |
12 |
|
13 |
Signed-off-by: Benda Xu <heroxbd <AT> gentoo.org> |
14 |
|
15 |
scripts/bootstrap-prefix.sh | 2 +- |
16 |
1 file changed, 1 insertion(+), 1 deletion(-) |
17 |
|
18 |
diff --git a/scripts/bootstrap-prefix.sh b/scripts/bootstrap-prefix.sh |
19 |
index 3bb523071c..2abc3905d4 100755 |
20 |
--- a/scripts/bootstrap-prefix.sh |
21 |
+++ b/scripts/bootstrap-prefix.sh |
22 |
@@ -1717,7 +1717,7 @@ bootstrap_stage2() { |
23 |
for pkg in ${compiler_stage1} ; do |
24 |
# <glibc-2.5 does not understand .gnu.hash, use |
25 |
# --hash-style=both to produce also sysv hash. |
26 |
- EXTRA_ECONF="--disable-bootstrap $(rapx --with-linker-hash-style=both)" \ |
27 |
+ EXTRA_ECONF="--disable-bootstrap $(rapx --with-linker-hash-style=both) --with-local-prefix=${ROOT}" \ |
28 |
MYCMAKEARGS="-DCMAKE_USE_SYSTEM_LIBRARY_LIBUV=OFF" \ |
29 |
GCC_MAKE_TARGET=all \ |
30 |
TPREFIX="${ROOT}" \ |