summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2023-06-17 04:09:53 +0100
committerSam James <sam@gentoo.org>2023-06-17 04:09:53 +0100
commit2ce629ab3847ee125a2507b50715e29fbe26c5b7 (patch)
treec87f5d88ed5fbd5b93fff0da79a3fc30e8d01cdb /sys-libs/zlib-ng
parentsys-libs/newlib: backport arm setjmp fix (diff)
downloadgentoo-2ce629ab3847ee125a2507b50715e29fbe26c5b7.tar.gz
gentoo-2ce629ab3847ee125a2507b50715e29fbe26c5b7.tar.bz2
gentoo-2ce629ab3847ee125a2507b50715e29fbe26c5b7.zip
sys-libs/zlib-ng: disable gtest entirely when not running tests
Closes: https://bugs.gentoo.org/908567 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sys-libs/zlib-ng')
-rw-r--r--sys-libs/zlib-ng/zlib-ng-2.1.2-r1.ebuild1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys-libs/zlib-ng/zlib-ng-2.1.2-r1.ebuild b/sys-libs/zlib-ng/zlib-ng-2.1.2-r1.ebuild
index f96bd980dbf9..25a52ed3352c 100644
--- a/sys-libs/zlib-ng/zlib-ng-2.1.2-r1.ebuild
+++ b/sys-libs/zlib-ng/zlib-ng-2.1.2-r1.ebuild
@@ -35,6 +35,7 @@ multilib_src_configure() {
local mycmakeargs=(
-DZLIB_COMPAT=$(usex compat)
-DZLIB_ENABLE_TESTS=$(usex test)
+ -DWITH_GTEST=$(usex test)
# Unaligned access is controversial and undefined behaviour
# Let's keep it off for now