commit:     896a29cffd9ccd6f060d74a5193b6825338dd7c3
Author:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Tue May  7 17:47:27 2024 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Tue May  7 17:48:51 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=896a29cf

dev-util/mingw64-toolchain: IUSE=debug -> +strip

Forgot but meant to do this on a bump to avoid rebuilds,
but given this isn't keyworded yet there is little harm
in doing it now.

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

 dev-util/mingw64-toolchain/mingw64-toolchain-11.0.1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-util/mingw64-toolchain/mingw64-toolchain-11.0.1.ebuild 
b/dev-util/mingw64-toolchain/mingw64-toolchain-11.0.1.ebuild
index 94e4af656ed4..4003b26827a8 100644
--- a/dev-util/mingw64-toolchain/mingw64-toolchain-11.0.1.ebuild
+++ b/dev-util/mingw64-toolchain/mingw64-toolchain-11.0.1.ebuild
@@ -42,7 +42,7 @@ LICENSE="
 SLOT="0"
 # unkeyworded for testing
 #KEYWORDS="-* ~amd64 ~x86"
-IUSE="+abi_x86_32 bin-symlinks custom-cflags debug"
+IUSE="+abi_x86_32 bin-symlinks custom-cflags +strip"
 
 RDEPEND="
        dev-libs/gmp:=
@@ -323,7 +323,7 @@ src_compile() {
        dostrip -x ${mwtdir}/{${CTARGET}/lib{,32},lib/gcc/${CTARGET}}
 
        # ... and instead do it here given this saves ~60MB
-       if use !debug; then
+       if use strip; then
                einfo "Stripping ${CTARGET} static libraries ..."
                find "${sysroot}"/{,lib/gcc/}${CTARGET} -type f -name '*.a' \
                        -exec ${CTARGET}-strip --strip-unneeded {} + || die

Reply via email to