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)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id EC55815817D for ; Sun, 23 Jun 2024 01:00:45 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 34810E2B0C; Sun, 23 Jun 2024 01:00:45 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 136B4E2B0C for ; Sun, 23 Jun 2024 01:00:45 +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 0E3C3340CA7 for ; Sun, 23 Jun 2024 01:00:44 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 3996F1AE2 for ; Sun, 23 Jun 2024 01:00:42 +0000 (UTC) From: "Ionen Wolkens" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ionen Wolkens" Message-ID: <1719104402.ab3a604aa77a4c2a0d54fd146c5b7b0ca53f1b38.ionen@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: eclass/ X-VCS-Repository: repo/gentoo X-VCS-Files: eclass/qt6-build.eclass X-VCS-Directories: eclass/ X-VCS-Committer: ionen X-VCS-Committer-Name: Ionen Wolkens X-VCS-Revision: ab3a604aa77a4c2a0d54fd146c5b7b0ca53f1b38 X-VCS-Branch: master Date: Sun, 23 Jun 2024 01:00:42 +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: 91963368-6c38-43d3-b782-d40f085b5565 X-Archives-Hash: 6a8fc4d208292b33e14bdcd5935b9819 commit: ab3a604aa77a4c2a0d54fd146c5b7b0ca53f1b38 Author: Ionen Wolkens gentoo org> AuthorDate: Sun Jun 23 00:47:18 2024 +0000 Commit: Ionen Wolkens gentoo org> CommitDate: Sun Jun 23 01:00:02 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ab3a604a qt6-build.eclass: handle extra -mno-* for qtwebengine Had forgotten chromium needed extras, so went to look at chromium's ebuild to see which ones were getting stripped that we aren't already handling. Signed-off-by: Ionen Wolkens gentoo.org> eclass/qt6-build.eclass | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/eclass/qt6-build.eclass b/eclass/qt6-build.eclass index 4966c52adc4c..24b857dab53f 100644 --- a/eclass/qt6-build.eclass +++ b/eclass/qt6-build.eclass @@ -282,6 +282,17 @@ _qt6-build_sanitize_cpu_flags() { bmi bmi2 f16c fma lzcnt popcnt ) + # extras only needed by chromium in qtwebengine + # (see also chromium's ebuild wrt bug #530248,#544702,#546984,#853646) + [[ ${PN} == qtwebengine ]] && cpuflags+=( + mmx xop + + # unclear if these two are really needed given (current) chromium + # does not pass these flags, albeit it may side-disable something + # else so keeping as a safety (like chromium's ebuild does) + fma4 sse4a + ) + # check if any known problematic -mno-* C(XX)FLAGS if ! is-flagq "@($(IFS='|'; echo "${cpuflags[*]/#/-mno-}"))"; then # check if qsimd_p.h (search for "enable all") will accept -march