From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 82F3C15802E for ; Tue, 2 Jul 2024 17:49:36 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C0D7AE2A5F; Tue, 2 Jul 2024 17:49:35 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 9DC0BE2A5F for ; Tue, 2 Jul 2024 17:49:35 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 750EB34306F for ; Tue, 2 Jul 2024 17:49:34 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id ABBD31BC0 for ; Tue, 2 Jul 2024 17:49:32 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1719942516.b597cc4cb8832fcc447ae998d4dac6677e0b2918.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: eclass/ X-VCS-Repository: repo/gentoo X-VCS-Files: eclass/qt5-build.eclass X-VCS-Directories: eclass/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: b597cc4cb8832fcc447ae998d4dac6677e0b2918 X-VCS-Branch: master Date: Tue, 2 Jul 2024 17:49:32 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 4a1ab068-5e38-4b7d-99f5-56c4fd8f7564 X-Archives-Hash: e7cc4950b86a174b85059d1dcbb78f54 commit: b597cc4cb8832fcc447ae998d4dac6677e0b2918 Author: Sam James gentoo org> AuthorDate: Tue Jul 2 17:48:36 2024 +0000 Commit: Sam James gentoo 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 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