diff options
author | Bertrand Jacquin <bertrand@jacquin.bzh> | 2019-11-30 15:05:34 +0000 |
---|---|---|
committer | Bertrand Jacquin <bertrand@jacquin.bzh> | 2019-11-30 17:24:18 +0000 |
commit | 76fea60be14a2dea6a01bb1c6a50862fe86b4914 (patch) | |
tree | 6256b7719dd33dd239eb5d3507154d9e6c9fce47 /net-p2p/monero | |
parent | net-p2p/monero: allow cross compile (diff) | |
download | portage-76fea60be14a2dea6a01bb1c6a50862fe86b4914.tar.xz |
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
Diffstat (limited to 'net-p2p/monero')
-rw-r--r-- | net-p2p/monero/monero-0.15.0.1.ebuild | 9 |
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 |