From 8718ac56ad5ec6167c7d56632489a017765e2e80 Mon Sep 17 00:00:00 2001 From: lucy Date: Wed, 9 Sep 2026 02:42:16 +0200 Subject: [PATCH] disable lto on rnote --- gui-apps/rnote/rnote-0.14.2.ebuild | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/gui-apps/rnote/rnote-0.14.2.ebuild b/gui-apps/rnote/rnote-0.14.2.ebuild index d69d1da..2ec7305 100644 --- a/gui-apps/rnote/rnote-0.14.2.ebuild +++ b/gui-apps/rnote/rnote-0.14.2.ebuild @@ -36,3 +36,11 @@ src_configure() { ) meson_src_configure } + +src_compile() { + local -x CARGO_BUILD_JOBS=$(makeopts_jobs) + local -x CARGO_PROFILE_RELEASE_LTO=thin + local -x CARGO_PROFILE_RELEASE_CODEGEN_UNITS=$(makeopts_jobs) + local -x CARGO_PROFILE_RELEASE_DEBUG=false + meson_src_compile +}