dev-cpp/folly: filter LTO

I haven't filed this upstream (at least for now) as our bugs tend to
not get much traction.

Closes: https://bugs.gentoo.org/949607
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Sam James
2025-09-17 18:26:25 +01:00
parent c28cb677d5
commit 92481379ec
3 changed files with 9 additions and 0 deletions

View File

@@ -65,6 +65,9 @@ src_unpack() {
}
src_configure() {
# bug #949607
filter-lto
# TODO: liburing could in theory be optional but fails to link
local mycmakeargs=(
-DCMAKE_INSTALL_DIR="$(get_libdir)/cmake/${PN}"

View File

@@ -75,6 +75,9 @@ src_prepare() {
}
src_configure() {
# bug #949607
filter-lto
local mycmakeargs=(
-DCMAKE_INSTALL_DIR="$(get_libdir)/cmake/${PN}"
-DLIB_INSTALL_DIR="$(get_libdir)"

View File

@@ -76,6 +76,9 @@ src_prepare() {
}
src_configure() {
# bug #949607
filter-lto
local mycmakeargs=(
-DCMAKE_INSTALL_DIR="$(get_libdir)/cmake/${PN}"
-DLIB_INSTALL_DIR="$(get_libdir)"