summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexey Korepanov <kaikaikai@yandex.ru>2018-08-27 22:18:55 +0100
committerAnthony G. Basile <blueness@gentoo.org>2018-09-08 10:40:18 -0400
commit4ff0bb199ba902d5fd730b1c8854294bf1dd22d6 (patch)
treedb7a18f97c31d1319bdc99ae24ccf6ed02e219d2 /net-vpn/i2pd
parentnet-vpn/i2pd: remove old (diff)
downloadgentoo-4ff0bb199ba902d5fd730b1c8854294bf1dd22d6.tar.gz
gentoo-4ff0bb199ba902d5fd730b1c8854294bf1dd22d6.tar.bz2
gentoo-4ff0bb199ba902d5fd730b1c8854294bf1dd22d6.zip
net-vpn/i2pd: support compilation with avx
Diffstat (limited to 'net-vpn/i2pd')
-rw-r--r--net-vpn/i2pd/i2pd-2.20.0.ebuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/net-vpn/i2pd/i2pd-2.20.0.ebuild b/net-vpn/i2pd/i2pd-2.20.0.ebuild
index 454dd172bd22..6e3dffbd6c17 100644
--- a/net-vpn/i2pd/i2pd-2.20.0.ebuild
+++ b/net-vpn/i2pd/i2pd-2.20.0.ebuild
@@ -10,7 +10,7 @@ SRC_URI="https://github.com/PurpleI2P/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~ppc64 ~x86"
-IUSE="cpu_flags_x86_aes i2p-hardening libressl static +upnp websocket"
+IUSE="cpu_flags_x86_aes cpu_flags_x86_avx i2p-hardening libressl static +upnp websocket"
# if using libressl, require >=boost-1.65, see #597798
RDEPEND="!static? ( dev-libs/boost[threads]
@@ -51,6 +51,7 @@ pkg_pretend() {
src_configure() {
mycmakeargs=(
-DWITH_AESNI=$(usex cpu_flags_x86_aes ON OFF)
+ -DWITH_AVX=$(usex cpu_flags_x86_avx ON OFF)
-DWITH_HARDENING=$(usex i2p-hardening ON OFF)
-DWITH_PCH=OFF
-DWITH_STATIC=$(usex static ON OFF)