mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
Revert "dev-qt/qtbase: add IUSE=cpu_flags_x86_rdrand"
Regardless of if that worked or not, on second thought this was a
bad idea. The flag is rather misleading for generic binhosts because
they should actually *enable* it to allow optional usage (runtime
detection). And then, this is actually broken on top, so let's just
return to the previous state.
This reverts commit c198f69e66.
Bug: https://bugs.gentoo.org/922498
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
This commit is contained in:
@@ -25,8 +25,6 @@ declare -A QT6_IUSE=(
|
||||
[sql]="mysql oci8 odbc postgres +sqlite"
|
||||
[widgets]="cups gtk"
|
||||
|
||||
[cpuflags]="cpu_flags_x86_rdrand"
|
||||
|
||||
[optfeature]="nls wayland" #810802,864509
|
||||
)
|
||||
IUSE="${QT6_IUSE[*]}"
|
||||
@@ -237,14 +235,7 @@ src_configure() {
|
||||
)
|
||||
|
||||
if use amd64 || use x86; then
|
||||
# see bug #922498, let detection do its thing if set
|
||||
use cpu_flags_x86_rdrand ||
|
||||
mycmakeargs+=(
|
||||
-DQT_FEATURE_rdrnd=OFF
|
||||
-DQT_FEATURE_rdseed=OFF
|
||||
)
|
||||
|
||||
# see bug #913400 for explanations, mostly to handle -mno-*
|
||||
# see bug #913400 for explanations
|
||||
local cpufeats=(
|
||||
# list of checked cpu features in configure.cmake
|
||||
avx avx2 avx512{bw,cd,dq,er,f,ifma,pf,vbmi,vbmi2,vl}
|
||||
|
||||
@@ -24,8 +24,6 @@ declare -A QT6_IUSE=(
|
||||
[sql]="mysql oci8 odbc postgres +sqlite"
|
||||
[widgets]="cups gtk"
|
||||
|
||||
[cpuflags]="cpu_flags_x86_rdrand"
|
||||
|
||||
[optfeature]="nls wayland" #810802,864509
|
||||
)
|
||||
IUSE="${QT6_IUSE[*]}"
|
||||
@@ -234,14 +232,7 @@ src_configure() {
|
||||
)
|
||||
|
||||
if use amd64 || use x86; then
|
||||
# see bug #922498, let detection do its thing if set
|
||||
use cpu_flags_x86_rdrand ||
|
||||
mycmakeargs+=(
|
||||
-DQT_FEATURE_rdrnd=OFF
|
||||
-DQT_FEATURE_rdseed=OFF
|
||||
)
|
||||
|
||||
# see bug #913400 for explanations, mostly to handle -mno-*
|
||||
# see bug #913400 for explanations
|
||||
local cpufeats=(
|
||||
# list of checked cpu features in configure.cmake
|
||||
avx avx2 avx512{bw,cd,dq,er,f,ifma,pf,vbmi,vbmi2,vl}
|
||||
|
||||
@@ -24,8 +24,6 @@ declare -A QT6_IUSE=(
|
||||
[sql]="mysql oci8 odbc postgres +sqlite"
|
||||
[widgets]="cups gtk"
|
||||
|
||||
[cpuflags]="cpu_flags_x86_rdrand"
|
||||
|
||||
[optfeature]="nls" #810802
|
||||
)
|
||||
IUSE="${QT6_IUSE[*]}"
|
||||
@@ -237,14 +235,7 @@ src_configure() {
|
||||
)
|
||||
|
||||
if use amd64 || use x86; then
|
||||
# see bug #922498, let detection do its thing if set
|
||||
use cpu_flags_x86_rdrand ||
|
||||
mycmakeargs+=(
|
||||
-DQT_FEATURE_rdrnd=OFF
|
||||
-DQT_FEATURE_rdseed=OFF
|
||||
)
|
||||
|
||||
# see bug #913400 for explanations, mostly to handle -mno-*
|
||||
# see bug #913400 for explanations
|
||||
local cpufeats=(
|
||||
# list of checked cpu features in configure.cmake
|
||||
avx avx2 avx512{bw,cd,dq,er,f,ifma,pf,vbmi,vbmi2,vl}
|
||||
|
||||
@@ -24,8 +24,6 @@ declare -A QT6_IUSE=(
|
||||
[sql]="mysql oci8 odbc postgres +sqlite"
|
||||
[widgets]="cups gtk"
|
||||
|
||||
[cpuflags]="cpu_flags_x86_rdrand"
|
||||
|
||||
[optfeature]="nls" #810802
|
||||
)
|
||||
IUSE="${QT6_IUSE[*]}"
|
||||
@@ -237,14 +235,7 @@ src_configure() {
|
||||
)
|
||||
|
||||
if use amd64 || use x86; then
|
||||
# see bug #922498, let detection do its thing if set
|
||||
use cpu_flags_x86_rdrand ||
|
||||
mycmakeargs+=(
|
||||
-DQT_FEATURE_rdrnd=OFF
|
||||
-DQT_FEATURE_rdseed=OFF
|
||||
)
|
||||
|
||||
# see bug #913400 for explanations, mostly to handle -mno-*
|
||||
# see bug #913400 for explanations
|
||||
local cpufeats=(
|
||||
# list of checked cpu features in configure.cmake
|
||||
avx avx2 avx512{bw,cd,dq,er,f,ifma,pf,vbmi,vbmi2,vl}
|
||||
|
||||
Reference in New Issue
Block a user