summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenda Xu <heroxbd@gentoo.org>2020-01-27 10:41:04 +0800
committerBenda Xu <heroxbd@gentoo.org>2020-01-27 10:53:04 +0800
commite8e0f7f4c06a8ddbe113ebe6413c6d5f1925c84d (patch)
tree9ff22af0a3b027feca9d7291ed984b32dfbc397d
parents/bootstrap-prefix.sh: fake rsync to install linux-headers. (diff)
downloadprefix-e8e0f7f4.tar.gz
prefix-e8e0f7f4.tar.bz2
prefix-e8e0f7f4.zip
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@gentoo.org>
-rwxr-xr-xscripts/bootstrap-prefix.sh2
1 files changed, 1 insertions, 1 deletions
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}" \