Add "jumbo-build" use flag too
Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Πέτρος Σιλιγκούνας <petross404@gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/11669
Signed-off-by: Michał Górny <mgorny@gentoo.org>
-# Copyright 1999-2018 Gentoo Authors
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=7
inherit cmake-utils git-r3
LICENSE="GPL-2+"
SLOT="0"
KEYWORDS=""
-IUSE="graphviz"
+IUSE="graphviz jumbo-build"
RDEPEND="
dev-libs/capstone:=
fi
cmake-utils_src_prepare
}
+
+src_configure() {
+ local mycmakeargs=(
+ -DBUILD_JUMBO=$(usex jumbo-build)
+ )
+ cmake-utils_src_configure
+}
<use>
<flag name="legacy-mem-write">Probe if writes to /proc/PID/mem are broken.</flag>
<flag name="graphviz">Add support for the Graphviz library</flag>
+ <flag name="jumbo-build">Experimental jumbo (also known as unity) build capability</flag>
<flag name="pax_kernel">Enable building under a PaX enabled kernel</flag>
</use>
</pkgmetadata>