* [gentoo-commits] repo/gentoo:master commit in: dev-db/lmdb/
@ 2020-12-31 13:18 99% Fabian Groffen
0 siblings, 0 replies; 1+ results
From: Fabian Groffen @ 2020-12-31 13:18 UTC (permalink / raw
To: gentoo-commits
commit: bf5054335d2cd1533fe6481a2007e275719c6846
Author: Fabian Groffen <grobian <AT> gentoo <DOT> org>
AuthorDate: Thu Dec 31 13:18:15 2020 +0000
Commit: Fabian Groffen <grobian <AT> gentoo <DOT> org>
CommitDate: Thu Dec 31 13:18:15 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bf505433
dev-db/lmdb-0.9.27: fix segfault due to miscompilation on macOS
Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: Fabian Groffen <grobian <AT> gentoo.org>
dev-db/lmdb/lmdb-0.9.27.ebuild | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/dev-db/lmdb/lmdb-0.9.27.ebuild b/dev-db/lmdb/lmdb-0.9.27.ebuild
index 0a352a7842f..a16119674e9 100644
--- a/dev-db/lmdb/lmdb-0.9.27.ebuild
+++ b/dev-db/lmdb/lmdb-0.9.27.ebuild
@@ -32,8 +32,10 @@ src_prepare() {
multilib_src_configure() {
local soname="-Wl,-soname,liblmdb$(get_libname 0)"
- [[ ${CHOST} == *-darwin* ]] && \
+ if [[ ${CHOST} == *-darwin* ]] ; then
soname="-dynamiclib -install_name ${EPREFIX}/usr/$(get_libdir)/liblmdb$(get_libname 0)"
+ replace-flags -O[123456789] -O1
+ fi
sed -i -e "s!^CC.*!CC = $(tc-getCC)!" \
-e "s!^CFLAGS.*!CFLAGS = ${CFLAGS}!" \
-e "s!^AR.*!AR = $(tc-getAR)!" \
^ permalink raw reply related [relevance 99%]
Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2020-12-31 13:18 99% [gentoo-commits] repo/gentoo:master commit in: dev-db/lmdb/ Fabian Groffen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox