summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2024-02-13 10:54:30 +0100
committerDavid Seifert <soap@gentoo.org>2024-02-13 10:54:30 +0100
commit6c13b936991900d819acf2a146150957a9183ae7 (patch)
tree63c76135aa85ba333e29ee9b15f58c0e6e347851 /dev-build
parentmedia-gfx/plantuml: drop 1.2022.7 (diff)
downloadgentoo-6c13b936991900d819acf2a146150957a9183ae7.tar.gz
gentoo-6c13b936991900d819acf2a146150957a9183ae7.tar.bz2
gentoo-6c13b936991900d819acf2a146150957a9183ae7.zip
dev-build/b2: inject -pthread for glibc<2.34
Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'dev-build')
-rw-r--r--dev-build/b2/b2-5.0.0.ebuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/dev-build/b2/b2-5.0.0.ebuild b/dev-build/b2/b2-5.0.0.ebuild
index 8315653f3185..063b508e534c 100644
--- a/dev-build/b2/b2-5.0.0.ebuild
+++ b/dev-build/b2/b2-5.0.0.ebuild
@@ -42,7 +42,7 @@ src_compile() {
# https://github.com/bfgroup/b2/pull/187#issuecomment-1335688424
edo ${CONFIG_SHELL:-${BASH}} ./build.sh cxx \
--cxx="$(tc-getCXX)" \
- --cxxflags="${CXXFLAGS} ${CPPFLAGS} ${LDFLAGS}" \
+ --cxxflags="-pthread ${CXXFLAGS} ${CPPFLAGS} ${LDFLAGS}" \
-d+2 \
--without-python
}