commit: b597cc4cb8832fcc447ae998d4dac6677e0b2918 Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Tue Jul 2 17:48:36 2024 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Tue Jul 2 17:48:36 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b597cc4c
qt5-build.eclass: try to avoid SSE2 where unavailable Rather overdue, but we got there eventually. Closes: https://bugs.gentoo.org/773199 Bug: https://bugs.gentoo.org/552942 Bug: https://bugs.gentoo.org/648004 Bug: https://bugs.gentoo.org/775650 Signed-off-by: Sam James <sam <AT> gentoo.org> eclass/qt5-build.eclass | 3 +++ 1 file changed, 3 insertions(+) diff --git a/eclass/qt5-build.eclass b/eclass/qt5-build.eclass index ef4ea4ec1756..1a0335b9d2b6 100644 --- a/eclass/qt5-build.eclass +++ b/eclass/qt5-build.eclass @@ -623,6 +623,9 @@ qt5_base_configure() { $(is-flagq -mno-dsp && echo -no-mips_dsp) $(is-flagq -mno-dspr2 && echo -no-mips_dspr2) + # bug #773199 and friends + $(tc-cpp-is-true "defined(__SSE2__)" ${CFLAGS} ${CXXFLAGS} || echo -no-feature-sse2) + # use pkg-config to detect include and library paths -pkg-config
