dev-libs/mbedtls: add x86_cpu_features:sse2

This commit is contained in:
Julian Ospald 2016-02-21 18:40:45 +01:00
parent 9920c61659
commit 317c7685d3
No known key found for this signature in database
GPG Key ID: 220CD1C5BDEED020
1 changed files with 3 additions and 0 deletions

View File

@ -15,6 +15,8 @@ MYOPTIONS="
havege [[ description = [ Enable the HAVEGE random generator,
not suitable for virtualized environments! ] ]]
threads
x86_cpu_features:
sse2
"
DEPENDENCIES="
@ -48,6 +50,7 @@ enable_mbedtls_option() {
}
src_prepare() {
option x86_cpu_features:sse2 && enable_mbedtls_option MBEDTLS_HAVE_SSE2
enable_mbedtls_option MBEDTLS_ZLIB_SUPPORT
option havege && enable_mbedtls_option MBEDTLS_HAVEGE_C
option threads && enable_mbedtls_option MBEDTLS_THREADING_C