commit:     b7de108f84ccb8007db496f1a29f7b8a19c708bd
Author:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Sat Jul 16 15:39:30 2022 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Sat Jul 16 16:56:35 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b7de108f

dev-util/mingw64-toolchain: 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 binutils we just built (filtering feels more solid
either way).

Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>

 dev-util/mingw64-toolchain/mingw64-toolchain-10.0.0-r1.ebuild | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dev-util/mingw64-toolchain/mingw64-toolchain-10.0.0-r1.ebuild 
b/dev-util/mingw64-toolchain/mingw64-toolchain-10.0.0-r1.ebuild
index c902601aa43c..1af4218042da 100644
--- a/dev-util/mingw64-toolchain/mingw64-toolchain-10.0.0-r1.ebuild
+++ b/dev-util/mingw64-toolchain/mingw64-toolchain-10.0.0-r1.ebuild
@@ -196,6 +196,7 @@ src_compile() {
                                # cross-compiling, cleanup and let ./configure 
handle it
                                unset AR AS CC CPP CXX LD NM OBJCOPY OBJDUMP 
RANLIB RC STRIP
                                CHOST=${CTARGET}
+                               filter-flags '-fuse-ld=*'
                                strip-unsupported-flags
                                mwt-build "${@:2}"
                        )

Reply via email to