summaryrefslogtreecommitdiff
path: root/dev-python/pybind11
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/pybind11')
-rw-r--r--dev-python/pybind11/pybind11-3.1.0.ebuild5
1 files changed, 5 insertions, 0 deletions
diff --git a/dev-python/pybind11/pybind11-3.1.0.ebuild b/dev-python/pybind11/pybind11-3.1.0.ebuild
index ce967ed0d859..987722704c1f 100644
--- a/dev-python/pybind11/pybind11-3.1.0.ebuild
+++ b/dev-python/pybind11/pybind11-3.1.0.ebuild
@@ -3,6 +3,9 @@
EAPI=8
+# Avoid spurious reports about LTO (bug #938436), but check carefully
+# on bumps.
+CMAKE_WARN_UNUSED_CLI=no
DISTUTILS_USE_PEP517=scikit-build-core
PYTHON_COMPAT=( python3_{13..14} )
@@ -51,6 +54,8 @@ python_configure() {
DISTUTILS_ARGS=(
# disable forced lto
-DHAS_FLTO=OFF
+ -DHAS_FLTO_AUTO=OFF
+ -DHAS_FLTO_THIN=OFF
# https://github.com/pybind/pybind11/issues/5087
-DPYBIND11_FINDPYTHON=OFF
-DPYBIND11_INSTALL=ON