summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIonen Wolkens <ionen@gentoo.org>2024-01-08 10:56:28 -0500
committerIonen Wolkens <ionen@gentoo.org>2024-01-08 16:08:06 -0500
commit440b08f6bcb82e28e3ba56a6c07a9881fbc7a23f (patch)
tree994ca0ca78472053a03bcb0bff7c7ed37046337d /eclass/qt6-build.eclass
parentapp-containers/docker-compose: Make 1.x.x support >=dev-python/docker-7 (diff)
downloadgentoo-440b08f6bcb82e28e3ba56a6c07a9881fbc7a23f.tar.gz
gentoo-440b08f6bcb82e28e3ba56a6c07a9881fbc7a23f.tar.bz2
gentoo-440b08f6bcb82e28e3ba56a6c07a9881fbc7a23f.zip
qt6-build.eclass: shorten intrin test a bit
Felt more correct but do not actually need the header for these. Could alternatively use tc-cpp-is-true too, but fwiw current method allows batching in a single compiler call. Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Diffstat (limited to 'eclass/qt6-build.eclass')
-rw-r--r--eclass/qt6-build.eclass3
1 files changed, 0 insertions, 3 deletions
diff --git a/eclass/qt6-build.eclass b/eclass/qt6-build.eclass
index 561a4fe20422..59baaa77ce6d 100644
--- a/eclass/qt6-build.eclass
+++ b/eclass/qt6-build.eclass
@@ -240,9 +240,6 @@ _qt6-build_match_cpu_flags() {
done
done < <(
$(tc-getCXX) -E -P ${CXXFLAGS} ${CPPFLAGS} - <<-EOF | tail -n 2
- #if defined(__GNUC__) && (defined(__x86_64__) || defined(__i386__))
- #include <x86intrin.h>
- #endif
avx2=__AVX2__ =__BMI__ =__BMI2__ =__F16C__ =__FMA__ =__LZCNT__ =__POPCNT__
avx512f=__AVX512F__ avx512bw=__AVX512BW__ avx512cd=__AVX512CD__ avx512dq=__AVX512DQ__ avx512vl=__AVX512VL__
EOF