summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Haubenwallner <haubi@gentoo.org>2020-03-09 15:47:24 +0100
committerSam James <sam@gentoo.org>2023-05-26 07:07:50 +0100
commit4a89021d31213acfde52945512b6da0d01965963 (patch)
tree8679b99a74bf629a1c55d51a50d5909db0a97beb /prefix-stack-setup
parentapp-portage/prefix-toolkit: drop /portage from child's PORTAGE_TMPDIR (diff)
downloadprefix-toolkit-4a89021d31213acfde52945512b6da0d01965963.tar.gz
prefix-toolkit-4a89021d31213acfde52945512b6da0d01965963.tar.bz2
prefix-toolkit-4a89021d31213acfde52945512b6da0d01965963.zip
app-portage/prefix-toolkit(winnt): pull pthreads4w, intercept -pthreadprefix-toolkit-6
Some X11 library build system is dumb enough to just use -pthread, while others do triage this, before trying with -lpthread. So we intercept the -pthread compiler flag and add -lpthread instead. We cannot do that in parity because pthreads4w is installed in the stacked prefix, where it is built using parity. Package-Manager: Portage-2.3.84, Repoman-2.3.20 Signed-off-by: Michael Haubenwallner <haubi@gentoo.org> (cherry picked from commit f2795c7e3b35c00c41cfc5a9937c55639a57783a)
Diffstat (limited to 'prefix-stack-setup')
-rw-r--r--prefix-stack-setup4
1 files changed, 4 insertions, 0 deletions
diff --git a/prefix-stack-setup b/prefix-stack-setup
index 6527fba..305441d 100644
--- a/prefix-stack-setup
+++ b/prefix-stack-setup
@@ -224,6 +224,10 @@ ebegin "installing required basic packages"
sys-devel/gnuconfig \
sys-devel/gcc-config
+ # get eventual dependencies, add to world
+ emerge --verbose --update --deep \
+ app-portage/prefix-toolkit
+
# select the stack wrapper profile from gcc-config
env -i PORTAGE_CONFIGROOT="${CHILD_EPREFIX}" \
"$(type -P bash)" "${CHILD_EPREFIX}"/usr/bin/gcc-config 1