diff options
author | Benda Xu <heroxbd@gentoo.org> | 2020-01-27 10:41:04 +0800 |
---|---|---|
committer | Benda Xu <heroxbd@gentoo.org> | 2020-01-27 10:53:04 +0800 |
commit | e8e0f7f4c06a8ddbe113ebe6413c6d5f1925c84d (patch) | |
tree | 9ff22af0a3b027feca9d7291ed984b32dfbc397d | |
parent | s/bootstrap-prefix.sh: fake rsync to install linux-headers. (diff) | |
download | prefix-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-x | scripts/bootstrap-prefix.sh | 2 |
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}" \ |