From 4ff0bb199ba902d5fd730b1c8854294bf1dd22d6 Mon Sep 17 00:00:00 2001 From: Alexey Korepanov Date: Mon, 27 Aug 2018 22:18:55 +0100 Subject: net-vpn/i2pd: support compilation with avx --- net-vpn/i2pd/i2pd-2.20.0.ebuild | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'net-vpn/i2pd') 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) -- cgit v1.2.3-65-gdbad