commit: 7701fe3a1016af768c99b722169c6aabf28be5c8
Author: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Sat Nov 12 03:26:25 2022 +0000
Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Sat Nov 12 11:15:57 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7701fe3a
dev-util/mingw64-toolchain: use 32bit wrapper for gas+cpp too
Overlooked given gcc normally calls AS the right way itself,
but >=wine-7.21 started to use it directly.
cpp wrapper isn't needed for wine, but do it anyway to ensure
proper macro tests everywhere.
Sorry for the large rebuild over this.
Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>
...chain-10.0.0_p1-r1.ebuild => mingw64-toolchain-10.0.0_p1-r2.ebuild} | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/dev-util/mingw64-toolchain/mingw64-toolchain-10.0.0_p1-r1.ebuild
b/dev-util/mingw64-toolchain/mingw64-toolchain-10.0.0_p1-r2.ebuild
similarity index 99%
rename from dev-util/mingw64-toolchain/mingw64-toolchain-10.0.0_p1-r1.ebuild
rename to dev-util/mingw64-toolchain/mingw64-toolchain-10.0.0_p1-r2.ebuild
index 1394d8b7f905..d3215a0ed723 100644
--- a/dev-util/mingw64-toolchain/mingw64-toolchain-10.0.0_p1-r1.ebuild
+++ b/dev-util/mingw64-toolchain/mingw64-toolchain-10.0.0_p1-r2.ebuild
@@ -260,7 +260,8 @@ src_compile() {
for bin in ${CTARGET}-*; do
bin32=${bin/x86_64-w64/i686-w64}
case ${bin#${CTARGET}-} in
- gcc|gcc-${GCC_PV}|g++|widl) mwt-i686_wrapper
-m32;;
+ as) mwt-i686_wrapper --32;;
+ cpp|gcc|gcc-${GCC_PV}|g++|widl)
mwt-i686_wrapper -m32;;
ld|ld.bfd) mwt-i686_wrapper -m i386pe;;
windres) mwt-i686_wrapper --target=pe-i386;;
*) ln -s ${bin} ${bin32} || die;;