From 76fea60be14a2dea6a01bb1c6a50862fe86b4914 Mon Sep 17 00:00:00 2001 From: Bertrand Jacquin Date: Sat, 30 Nov 2019 15:05:34 +0000 Subject: net-p2p/monero: add AES USE flag See: https://github.com/monero-project/monero/issues/6199 Package-Manager: Portage-2.3.79, Repoman-2.3.16 --- net-p2p/monero/monero-0.15.0.1.ebuild | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'net-p2p/monero') 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 -- cgit v1.2.3