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 6BD8B15838C for ; Wed, 24 Jan 2024 06:55:06 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id AA055E2A8B; Wed, 24 Jan 2024 06:55:05 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.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 82A89E2A8B for ; Wed, 24 Jan 2024 06:55:05 +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 A1BF43433A8 for ; Wed, 24 Jan 2024 06:55:04 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 10DBF10B2 for ; Wed, 24 Jan 2024 06:55:03 +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: <1706079278.8d8874b0078606ed7f053bbc2b0f2798542c1dc7.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/icu/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-libs/icu/icu-73.2.ebuild dev-libs/icu/icu-74.1.ebuild X-VCS-Directories: dev-libs/icu/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 8d8874b0078606ed7f053bbc2b0f2798542c1dc7 X-VCS-Branch: master Date: Wed, 24 Jan 2024 06:55:03 +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: 6a7ceff1-d68a-4823-8c52-278d1fd8ba58 X-Archives-Hash: 3624de6bcf20324a889c820c09c7768d commit: 8d8874b0078606ed7f053bbc2b0f2798542c1dc7 Author: Eli Schwartz gmail com> AuthorDate: Thu Jan 18 21:47:04 2024 +0000 Commit: Sam James gentoo org> CommitDate: Wed Jan 24 06:54:38 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8d8874b0 dev-libs/icu: migrate checking for enabled lto, to tc-is-lto This toolchain func was recently added, and is a lot more reliable than get-flagq, for example if the active flags contain `-flto -fno-lto` then tc-is-lto gets it correct. We would rather use this wherever possible. Signed-off-by: Eli Schwartz gmail.com> Signed-off-by: Sam James gentoo.org> dev-libs/icu/icu-73.2.ebuild | 2 +- dev-libs/icu/icu-74.1.ebuild | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dev-libs/icu/icu-73.2.ebuild b/dev-libs/icu/icu-73.2.ebuild index b01264579e85..d821c812d01f 100644 --- a/dev-libs/icu/icu-73.2.ebuild +++ b/dev-libs/icu/icu-73.2.ebuild @@ -123,7 +123,7 @@ multilib_src_configure() { ) # Work around cross-endian testing failures with LTO, bug #757681 - if tc-is-cross-compiler && is-flagq '-flto*' ; then + if tc-is-cross-compiler && tc-is-lto ; then myeconfargs+=( --disable-strict ) fi diff --git a/dev-libs/icu/icu-74.1.ebuild b/dev-libs/icu/icu-74.1.ebuild index 2b8644b47867..cf2868d8fc7e 100644 --- a/dev-libs/icu/icu-74.1.ebuild +++ b/dev-libs/icu/icu-74.1.ebuild @@ -122,7 +122,7 @@ multilib_src_configure() { ) # Work around cross-endian testing failures with LTO, bug #757681 - if tc-is-cross-compiler && is-flagq '-flto*' ; then + if tc-is-cross-compiler && tc-is-lto ; then myeconfargs+=( --disable-strict ) fi