commit:     db21b95652247c4181a0b92e47421f885d942c66
Author:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Fri Dec 22 17:08:44 2023 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Fri Dec 22 17:37:24 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=db21b956

dev-util/mingw64-toolchain: unset DLLTOOL for cross

Rarely set but, if it is, can result in using llvm-dlltool
when it should be using mingw's, and ultimately fails.

Closes: https://bugs.gentoo.org/920483
Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>

 dev-util/mingw64-toolchain/mingw64-toolchain-11.0.0_p2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-util/mingw64-toolchain/mingw64-toolchain-11.0.0_p2.ebuild 
b/dev-util/mingw64-toolchain/mingw64-toolchain-11.0.0_p2.ebuild
index 1a08ba3e0844..7196f0b85f19 100644
--- a/dev-util/mingw64-toolchain/mingw64-toolchain-11.0.0_p2.ebuild
+++ b/dev-util/mingw64-toolchain/mingw64-toolchain-11.0.0_p2.ebuild
@@ -202,7 +202,7 @@ src_compile() {
                if [[ ${1} == -x ]]; then
                        (
                                # cross-compiling, cleanup and let ./configure 
handle it
-                               unset AR AS CC CPP CXX LD NM OBJCOPY OBJDUMP 
RANLIB RC STRIP
+                               unset AR AS CC CPP CXX DLLTOOL LD NM OBJCOPY 
OBJDUMP RANLIB RC STRIP
                                CHOST=${CTARGET}
                                filter-flags '-fuse-ld=*'
                                filter-flags '-mfunction-return=thunk*' #878849

Reply via email to