commit:     58298a1e540c156b907221296277d561b2943af3
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Feb 16 15:28:24 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Feb 16 15:28:24 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=58298a1e

sys-devel/mold: fix inverted conditional

MOLD_ENABLE_QEMU_TESTS is only exposed w/ tests enabled.

Closes: https://bugs.gentoo.org/949842
Signed-off-by: Sam James <sam <AT> gentoo.org>

 sys-devel/mold/mold-2.36.0.ebuild | 2 +-
 sys-devel/mold/mold-9999.ebuild   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys-devel/mold/mold-2.36.0.ebuild 
b/sys-devel/mold/mold-2.36.0.ebuild
index 1a42a8a55e22..4d2c1476008e 100644
--- a/sys-devel/mold/mold-2.36.0.ebuild
+++ b/sys-devel/mold/mold-2.36.0.ebuild
@@ -78,7 +78,7 @@ src_configure() {
                -DMOLD_USE_SYSTEM_TBB=ON
        )
 
-       if ! use test ; then
+       if use test ; then
                mycmakeargs+=(
                        -DMOLD_ENABLE_QEMU_TESTS=OFF
                )

diff --git a/sys-devel/mold/mold-9999.ebuild b/sys-devel/mold/mold-9999.ebuild
index 1a42a8a55e22..4d2c1476008e 100644
--- a/sys-devel/mold/mold-9999.ebuild
+++ b/sys-devel/mold/mold-9999.ebuild
@@ -78,7 +78,7 @@ src_configure() {
                -DMOLD_USE_SYSTEM_TBB=ON
        )
 
-       if ! use test ; then
+       if use test ; then
                mycmakeargs+=(
                        -DMOLD_ENABLE_QEMU_TESTS=OFF
                )

Reply via email to