summaryrefslogtreecommitdiff
path: root/dev-cpp
diff options
context:
space:
mode:
authorPaul Zander <negril.nx+gentoo@gmail.com>2025-09-28 14:15:38 +0200
committerSam James <sam@gentoo.org>2025-10-22 12:34:47 +0100
commitba009344fb466ef56be9f97f9f3ca0e0e260af98 (patch)
tree1ff59e813b91252abb60954046b316e12583867f /dev-cpp
parentcc73f703f499f9e5b6b4a19e61f0b810beaf799a (diff)
downloadgentoo-ba009344fb466ef56be9f97f9f3ca0e0e260af98.tar.gz
gentoo-ba009344fb466ef56be9f97f9f3ca0e0e260af98.tar.bz2
gentoo-ba009344fb466ef56be9f97f9f3ca0e0e260af98.zip
dev-cpp/abseil-cpp: 20250814.1 pass DEBUG/NDEBUG
Signed-off-by: Paul Zander <negril.nx+gentoo@gmail.com> Part-of: https://github.com/gentoo/gentoo/pull/44225 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-cpp')
-rw-r--r--dev-cpp/abseil-cpp/abseil-cpp-20250814.1.ebuild6
1 files changed, 4 insertions, 2 deletions
diff --git a/dev-cpp/abseil-cpp/abseil-cpp-20250814.1.ebuild b/dev-cpp/abseil-cpp/abseil-cpp-20250814.1.ebuild
index c1a8ca5d1955..f80188a99e87 100644
--- a/dev-cpp/abseil-cpp/abseil-cpp-20250814.1.ebuild
+++ b/dev-cpp/abseil-cpp/abseil-cpp-20250814.1.ebuild
@@ -5,7 +5,7 @@ EAPI=8
PYTHON_COMPAT=( python3_{10..13} )
-inherit cmake-multilib python-any-r1
+inherit cmake-multilib flag-o-matic python-any-r1
DESCRIPTION="Abseil Common Libraries (C++), LTS Branch"
HOMEPAGE="https://abseil.io/"
@@ -21,7 +21,7 @@ SLOT="0/${PV:2:4}.$(ver_cut 2).0"
# SLOT="0/${PV:2:4}.0.0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos"
-IUSE="test test-helpers"
+IUSE="debug test test-helpers"
RDEPEND="
test? (
@@ -63,6 +63,8 @@ src_prepare() {
}
multilib_src_configure() {
+ append-cxxflags $(usex debug '-DDEBUG' '-DNDEBUG')
+
local mycmakeargs=(
-DABSL_ENABLE_INSTALL="yes"
-DABSL_USE_EXTERNAL_GOOGLETEST="yes"