summaryrefslogtreecommitdiff
path: root/net-p2p
diff options
context:
space:
mode:
Diffstat (limited to 'net-p2p')
-rw-r--r--net-p2p/monero/monero-0.15.0.1.ebuild9
1 files changed, 8 insertions, 1 deletions
diff --git a/net-p2p/monero/monero-0.15.0.1.ebuild b/net-p2p/monero/monero-0.15.0.1.ebuild
index 0ceca23e..a8012a80 100644
--- a/net-p2p/monero/monero-0.15.0.1.ebuild
+++ b/net-p2p/monero/monero-0.15.0.1.ebuild
@@ -18,7 +18,8 @@ SRC_URI="https://github.com/monero-project/${PN}/archive/v${PV}.tar.gz -> ${P}.t
LICENSE="NEWLIB"
SLOT="0/${PV}"
KEYWORDS="~amd64"
-IUSE="doc qt5 nls readline smartcard unwind"
+CPU_FLAGS="cpu_flags_arm_aes cpu_flags_x86_aes"
+IUSE="doc qt5 nls readline smartcard unwind ${CPU_FLAGS}"
RDEPEND="net-dns/unbound:=[threads]
>=dev-libs/randomx-1.1.6:=
@@ -96,6 +97,12 @@ src_configure() {
-DMANUAL_SUBMODULES=ON
)
+ if use cpu_flags_arm_aes || use cpu_flags_x86_aes ; then
+ mycmakeargs+=( -DNO_AES=OFF )
+ else
+ mycmakeargs+=( -DNO_AES=ON )
+ fi
+
export DATABASE="lmdb"
export DEVELOPER_LOCAL_TOOLS=0
export DEVELOPER_LIBUNBOUND_OLD=0