sci-ml/ollama: 9999 enable LTO for ggml if lto is enabled via FLAGS

Signed-off-by: Paul Zander <negril.nx+gentoo@gmail.com>
This commit is contained in:
Paul Zander
2026-02-21 21:12:09 +01:00
parent d9fc86cb9d
commit 2b2449e685

View File

@@ -279,6 +279,12 @@ src_configure() {
"$(cmake_use_find_package vulkan Vulkan)"
)
if tc-is-lto ; then
mycmakeargs+=(
-DGGML_LTO="yes"
)
fi
if use blas; then
if use flexiblas ; then
mycmakeargs+=(