commit:     136ca362535da7f89893b8549e3afe9c27e30f00
Author:     Lucio Sauer <watermanpaint <AT> posteo <DOT> net>
AuthorDate: Tue Jan  9 23:06:32 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Jan 21 10:00:26 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=136ca362

app-misc/anki: build the build system runner with release profile

Signed-off-by: Lucio Sauer <watermanpaint <AT> posteo.net>
Closes: https://github.com/gentoo/gentoo/pull/31122
Signed-off-by: Sam James <sam <AT> gentoo.org>

 app-misc/anki/anki-23.12.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-misc/anki/anki-23.12.1.ebuild 
b/app-misc/anki/anki-23.12.1.ebuild
index b79e79196831..f72a6cf7ef2f 100644
--- a/app-misc/anki/anki-23.12.1.ebuild
+++ b/app-misc/anki/anki-23.12.1.ebuild
@@ -880,7 +880,7 @@ src_compile() {
        #    * generate the ninja file and run ninja afterwards
        #    * create the Python wheel files in "${S}"/out/wheels
 
-       cargo_src_compile $(usev debug "--release") --package runner
+       cargo build --release --package runner || die
        if use gui; then
                out/rust/release/runner build -- $(get_NINJAOPTS) wheels  || die
        else

Reply via email to