dev-libs/crypto++: remove cpu-flag USE
authorAlon Bar-Lev <alonbl@gentoo.org>
Fri, 4 May 2018 19:06:41 +0000 (22:06 +0300)
committerAlon Bar-Lev <alonbl@gentoo.org>
Fri, 4 May 2018 19:22:34 +0000 (22:22 +0300)
Closes: https://bugs.gentoo.org/654598
Package-Manager: Portage-2.3.24, Repoman-2.3.6

dev-libs/crypto++/crypto++-7.0.0-r2.ebuild [moved from dev-libs/crypto++/crypto++-7.0.0-r1.ebuild with 73% similarity]

similarity index 73%
rename from dev-libs/crypto++/crypto++-7.0.0-r1.ebuild
rename to dev-libs/crypto++/crypto++-7.0.0-r2.ebuild
index 850fe2a0c0372ada3883f2e1ed2448cf690b3e70..24273393bf5f1116ba35236e025ca8e4f1fa02c4 100644 (file)
@@ -13,8 +13,6 @@ LICENSE="Boost-1.0"
 SLOT="0/7" # subslot is so version
 KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~x64-macos"
 IUSE="+asm static-libs"
-IUSE_CPU_FLAGS=" aes sse3 sse4_1 sse4_2"
-IUSE+=" ${IUSE_CPU_FLAGS// / cpu_flags_x86_}"
 
 DEPEND="app-arch/unzip"
 
@@ -29,10 +27,6 @@ pkg_setup() {
 src_compile() {
 
        use asm || append-cxxflags -DCRYPTOPP_DISABLE_ASM
-       use cpu_flags_x86_aes || append-cxxflags -DCRYPTOPP_DISABLE_AESNI
-       use cpu_flags_x86_sse3 || append-cxxflags -DCRYPTOPP_DISABLE_SSSE3
-       use cpu_flags_x86_sse4_1 || append-cxxflags -DCRYPTOPP_DISABLE_SSE4
-       use cpu_flags_x86_sse4_2 || append-cxxflags -DCRYPTOPP_DISABLE_SSE4
 
        # ASM isn't Darwin/Mach-O ready, #479554, buildsys doesn't grok CPPFLAGS
        [[ ${CHOST} == *-darwin* ]] && append-cxxflags -DCRYPTOPP_DISABLE_ASM