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 C2C43158094 for ; Sat, 16 Jul 2022 17:03:59 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D2A75E0F86; Sat, 16 Jul 2022 17:03:58 +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 AC308E0F5C for ; Sat, 16 Jul 2022 17:03:58 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 A53E33410BF for ; Sat, 16 Jul 2022 17:03:57 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 0496F535 for ; Sat, 16 Jul 2022 17:03:56 +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: <1657990595.cb896a35b33c2d0448904001731419c49be66cf9.ionen@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/mingw64-runtime/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-util/mingw64-runtime/mingw64-runtime-10.0.0-r1.ebuild dev-util/mingw64-runtime/mingw64-runtime-8.0.0-r3.ebuild dev-util/mingw64-runtime/mingw64-runtime-9.0.0-r2.ebuild X-VCS-Directories: dev-util/mingw64-runtime/ X-VCS-Committer: ionen X-VCS-Committer-Name: Ionen Wolkens X-VCS-Revision: cb896a35b33c2d0448904001731419c49be66cf9 X-VCS-Branch: master Date: Sat, 16 Jul 2022 17:03:56 +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: f3b9b6d1-89c3-493c-b5e3-aa2f5d9c2d5e X-Archives-Hash: f6d104c13b227304a248446d67697d4e commit: cb896a35b33c2d0448904001731419c49be66cf9 Author: Ionen Wolkens gentoo org> AuthorDate: Sat Jul 16 15:33:42 2022 +0000 Commit: Ionen Wolkens gentoo org> CommitDate: Sat Jul 16 16:56:35 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cb896a35 dev-util/mingw64-runtime: filter -fuse-ld for mingw flag-o-matic is looking at respecting -fuse-ld for test-flags-CCLD, which is good but don't want this when doing the user-unexpected switch to mingw toolchain (filtering feels more solid either way). Users can use MINGW_BYPASS=1 if really need full control. Signed-off-by: Ionen Wolkens gentoo.org> dev-util/mingw64-runtime/mingw64-runtime-10.0.0-r1.ebuild | 4 +++- dev-util/mingw64-runtime/mingw64-runtime-8.0.0-r3.ebuild | 4 +++- dev-util/mingw64-runtime/mingw64-runtime-9.0.0-r2.ebuild | 4 +++- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/dev-util/mingw64-runtime/mingw64-runtime-10.0.0-r1.ebuild b/dev-util/mingw64-runtime/mingw64-runtime-10.0.0-r1.ebuild index 004d6be49356..d25b7c5a8cd2 100644 --- a/dev-util/mingw64-runtime/mingw64-runtime-10.0.0-r1.ebuild +++ b/dev-util/mingw64-runtime/mingw64-runtime-10.0.0-r1.ebuild @@ -61,8 +61,10 @@ src_configure() { MW_LDFLAGS=${LDFLAGS} # keep non-stripped for gendef not respecting it # likely cross-compiling from here, update toolchain variables - ${MW_CROSS} && [[ ! -v MINGW_BYPASS ]] && + if ${MW_CROSS} && [[ ! -v MINGW_BYPASS ]]; then unset AR AS CC CPP CXX LD NM OBJCOPY OBJDUMP RANLIB RC STRIP + filter-flags '-fuse-ld=*' + fi local CHOST=${CTARGET} strip-unsupported-flags diff --git a/dev-util/mingw64-runtime/mingw64-runtime-8.0.0-r3.ebuild b/dev-util/mingw64-runtime/mingw64-runtime-8.0.0-r3.ebuild index f8c49eccf6eb..44937f667232 100644 --- a/dev-util/mingw64-runtime/mingw64-runtime-8.0.0-r3.ebuild +++ b/dev-util/mingw64-runtime/mingw64-runtime-8.0.0-r3.ebuild @@ -63,8 +63,10 @@ src_configure() { MW_LDFLAGS=${LDFLAGS} # keep non-stripped for gendef not respecting it # likely cross-compiling from here, update toolchain variables - ${MW_CROSS} && [[ ! -v MINGW_BYPASS ]] && + if ${MW_CROSS} && [[ ! -v MINGW_BYPASS ]]; then unset AR AS CC CPP CXX LD NM OBJCOPY OBJDUMP RANLIB RC STRIP + filter-flags '-fuse-ld=*' + fi local CHOST=${CTARGET} strip-unsupported-flags diff --git a/dev-util/mingw64-runtime/mingw64-runtime-9.0.0-r2.ebuild b/dev-util/mingw64-runtime/mingw64-runtime-9.0.0-r2.ebuild index 3a886c7ab13b..d0a25ce8f9c1 100644 --- a/dev-util/mingw64-runtime/mingw64-runtime-9.0.0-r2.ebuild +++ b/dev-util/mingw64-runtime/mingw64-runtime-9.0.0-r2.ebuild @@ -61,8 +61,10 @@ src_configure() { MW_LDFLAGS=${LDFLAGS} # keep non-stripped for gendef not respecting it # likely cross-compiling from here, update toolchain variables - ${MW_CROSS} && [[ ! -v MINGW_BYPASS ]] && + if ${MW_CROSS} && [[ ! -v MINGW_BYPASS ]]; then unset AR AS CC CPP CXX LD NM OBJCOPY OBJDUMP RANLIB RC STRIP + filter-flags '-fuse-ld=*' + fi local CHOST=${CTARGET} strip-unsupported-flags