mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-17 14:49:30 -07:00
dev-haskell/cryptonite: Change USE to cpu_flags_x86_rdrand
Package-Manager: Portage-2.3.99, Repoman-2.3.23 Signed-off-by: Francisco Blas Izquierdo Riera (klondike) <klondike@gentoo.org> Signed-off-by: Joonas Niilola <juippis@gentoo.org>
This commit is contained in:
committed by
Joonas Niilola
parent
0efe15af64
commit
fb58997e80
@@ -1,10 +1,10 @@
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
# ebuild generated by hackport 0.6.9999
|
||||
#hackport: flags: -check_alignment,-old_toolchain_inliner,+support_deepseq,support_aesni:cpu_flags_x86_aes,support_pclmuldq:cpu_flags_x86_sse4_1,support_rdrand:cpu-flags-x86-rdrand,support_blake2_sse:cpu_flags_x86_sse2
|
||||
#hackport: flags: -check_alignment,-old_toolchain_inliner,+support_deepseq,support_aesni:cpu_flags_x86_aes,support_pclmuldq:cpu_flags_x86_sse4_1,support_rdrand:cpu_flags_x86_rdrand,support_blake2_sse:cpu_flags_x86_sse2
|
||||
|
||||
CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite"
|
||||
inherit haskell-cabal
|
||||
@@ -16,7 +16,7 @@ SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz"
|
||||
LICENSE="BSD"
|
||||
SLOT="0/${PV}"
|
||||
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="cpu-flags-x86-rdrand cpu_flags_x86_aes cpu_flags_x86_sse2 cpu_flags_x86_sse4_1 +integer-gmp"
|
||||
IUSE="cpu_flags_x86_rdrand cpu_flags_x86_aes cpu_flags_x86_sse2 cpu_flags_x86_sse4_1 +integer-gmp"
|
||||
|
||||
RDEPEND=">=dev-haskell/memory-0.8:=[profile?]
|
||||
>=dev-lang/ghc-7.4.1:=
|
||||
@@ -43,5 +43,5 @@ src_configure() {
|
||||
$(cabal_flag cpu_flags_x86_sse2 support_blake2_sse) \
|
||||
--flag=support_deepseq \
|
||||
$(cabal_flag cpu_flags_x86_sse4_1 support_pclmuldq) \
|
||||
$(cabal_flag cpu-flags-x86-rdrand support_rdrand)
|
||||
$(cabal_flag cpu_flags_x86_rdrand support_rdrand)
|
||||
}
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
EAPI=7
|
||||
|
||||
# ebuild generated by hackport 0.6.1.9999
|
||||
#hackport: flags: -check_alignment,-old_toolchain_inliner,+support_deepseq,support_aesni:cpu_flags_x86_aes,support_pclmuldq:cpu_flags_x86_sse4_1,support_sse:cpu_flags_x86_sse,support_rdrand:cpu-flags-x86-rdrand
|
||||
#hackport: flags: -check_alignment,-old_toolchain_inliner,+support_deepseq,support_aesni:cpu_flags_x86_aes,support_pclmuldq:cpu_flags_x86_sse4_1,support_sse:cpu_flags_x86_sse,support_rdrand:cpu_flags_x86_rdrand
|
||||
|
||||
CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite"
|
||||
inherit haskell-cabal
|
||||
@@ -16,7 +16,7 @@ SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz"
|
||||
LICENSE="BSD"
|
||||
SLOT="0/${PV}"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="+cpu-flags-x86-rdrand +cpu_flags_x86_aes cpu_flags_x86_sse cpu_flags_x86_sse4_1 +integer-gmp"
|
||||
IUSE="+cpu_flags_x86_rdrand +cpu_flags_x86_aes cpu_flags_x86_sse cpu_flags_x86_sse4_1 +integer-gmp"
|
||||
|
||||
RDEPEND=">=dev-haskell/basement-0.0.6:=[profile?]
|
||||
>=dev-haskell/memory-0.14.18:=[profile?]
|
||||
@@ -40,6 +40,6 @@ src_configure() {
|
||||
$(cabal_flag cpu_flags_x86_aes support_aesni) \
|
||||
--flag=support_deepseq \
|
||||
$(cabal_flag cpu_flags_x86_sse4_1 support_pclmuldq) \
|
||||
$(cabal_flag cpu-flags-x86-rdrand support_rdrand) \
|
||||
$(cabal_flag cpu_flags_x86_rdrand support_rdrand) \
|
||||
$(cabal_flag cpu_flags_x86_sse support_sse)
|
||||
}
|
||||
|
||||
@@ -29,7 +29,6 @@
|
||||
Evaluate the security related to your requirements before using.
|
||||
</longdescription>
|
||||
<use>
|
||||
<flag name="cpu-flags-x86-rdrand">allow compilation with RDRAND on system and architecture that supports it</flag>
|
||||
<flag name="integer-gmp">Whether or not to use GMP for some functions</flag>
|
||||
</use>
|
||||
<upstream>
|
||||
|
||||
Reference in New Issue
Block a user