mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-06 00:48:18 -07:00
dev-cpp/cpptrace: added unwind USE flag
Signed-off-by: jwihardi <allarkvarkk@gmail.com> Part-of: https://github.com/gentoo/gentoo/pull/45985 Closes: https://github.com/gentoo/gentoo/pull/45985 Signed-off-by: James Le Cuirot <chewi@gentoo.org>
This commit is contained in:
committed by
James Le Cuirot
parent
22a64e7c07
commit
a682ee1f5e
@@ -11,12 +11,13 @@ SRC_URI="https://github.com/jeremy-rifkin/${PN}/archive/refs/tags/v${PV}.tar.gz
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
|
||||
IUSE="test"
|
||||
IUSE="unwind test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="
|
||||
app-arch/zstd:=
|
||||
dev-libs/libdwarf:=
|
||||
unwind? ( sys-libs/libunwind:= )
|
||||
"
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
@@ -38,6 +39,7 @@ src_configure() {
|
||||
-DCPPTRACE_USE_EXTERNAL_GTEST=yes
|
||||
-DCPPTRACE_USE_EXTERNAL_LIBDWARF=yes
|
||||
-DCPPTRACE_USE_EXTERNAL_ZSTD=yes
|
||||
-DCPPTRACE_UNWIND_WITH_LIBUNWIND=$(usex unwind)
|
||||
)
|
||||
cmake_src_configure
|
||||
}
|
||||
Reference in New Issue
Block a user