commit: 7e645768dc069ea0a416e7e57b96c996d085d82b
Author: Fabian Groffen <grobian <AT> gentoo <DOT> org>
AuthorDate: Tue Jul 11 06:21:11 2023 +0000
Commit: Fabian Groffen <grobian <AT> gentoo <DOT> org>
CommitDate: Tue Jul 11 06:21:11 2023 +0000
URL: https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=7e645768
scripts/bootstrap-prefix: keep LDFLAGS while emerging @system
revert a bit gone in through 14fbc8f14c4c484e1809e001e262efca9b6f6ecd
The final @system emerge of stage3 is pulling in the linker, so as long
as we don't have one installed we need manual LDFLAGS in order for the
host linker to find the libs from the new Prefix.
Problem observed in auto-bootstrap x86_64-apple-darwin17/20230710.
Signed-off-by: Fabian Groffen <grobian <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 297409fdb9..a4247c3241 100755
--- a/scripts/bootstrap-prefix.sh
+++ b/scripts/bootstrap-prefix.sh
@@ -2190,7 +2190,7 @@ bootstrap_stage3() {
# Portage should figure out itself what it needs to do, if anything.
einfo "running emerge -uDNv system"
estatus "stage3: emerge -uDNv system"
- unset CFLAGS CXXFLAGS CPPFLAGS LDFLAGS
+ unset CFLAGS CXXFLAGS CPPFLAGS
emerge --color n -uDNv system || return 1
# Remove anything that we don't need (compilers most likely)