summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenda Xu <heroxbd@gentoo.org>2018-02-20 16:57:03 +0900
committerBenda Xu <heroxbd@gentoo.org>2018-02-20 17:00:37 +0900
commit396a93ce5cbb65602468a35849df558443a59ebe (patch)
treef10815b7c6969f8d3551ce2c139599dbc8e58380
parentscripts/bootstrap-prefix: bump snapshot for bison and autoconf fixes (diff)
downloadprefix-master.zip
prefix-master.tar.gz
prefix-master.tar.bz2
tandalonebootstrap-prefix.sh: Add back BOOTSTRAP_RAP for zlib.HEADmaster
By default zlib builds several example executables, even if what we want is a library. It does not matter usually. But during stage3, after glibc and before binutils, we cannot build executable reliably. These should be disabled. Closes: https://bugs.gentoo.org/647144
-rwxr-xr-xscripts/bootstrap-prefix.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/bootstrap-prefix.sh b/scripts/bootstrap-prefix.sh
index ea7a874..0633207 100755
--- a/scripts/bootstrap-prefix.sh
+++ b/scripts/bootstrap-prefix.sh
@@ -1676,6 +1676,7 @@ bootstrap_stage3() {
# use the new dynamic linker in place of rpath from now on.
RAP_DLINKER=$(echo "${ROOT}"/$(get_libdir)/ld*.so.[0-9])
export LDFLAGS="-L${ROOT}/usr/$(get_libdir) -Wl,--dynamic-linker=${RAP_DLINKER}"
+ BOOTSTRAP_RAP=yes \
emerge_pkgs --nodeps "${pkgs[@]}" || return 1
# remove stage2 ld so that stage3 ld is used by stage2 gcc.