diff options
Diffstat (limited to 'app-emulation/wine-vanilla/wine-vanilla-7.9.ebuild')
-rw-r--r-- | app-emulation/wine-vanilla/wine-vanilla-7.9.ebuild | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/app-emulation/wine-vanilla/wine-vanilla-7.9.ebuild b/app-emulation/wine-vanilla/wine-vanilla-7.9.ebuild index 40974d38a1ce..3e08b94d9450 100644 --- a/app-emulation/wine-vanilla/wine-vanilla-7.9.ebuild +++ b/app-emulation/wine-vanilla/wine-vanilla-7.9.ebuild @@ -297,7 +297,9 @@ src_configure() { # use *FLAGS for mingw, but strip unsupported (e.g. --hash-style=gnu) local mingwcc=${CROSSCC:-$(usex x86 i686 x86_64)-w64-mingw32-gcc} : "${CROSSCFLAGS:=$(CC=${mingwcc} test-flags-CC ${CFLAGS:--O2})}" - : "${CROSSLDFLAGS:=$(CC=${mingwcc} test-flags-CCLD ${LDFLAGS})}" + : "${CROSSLDFLAGS:=$( + filter-flags '-fuse-ld=*' + CC=${mingwcc} test-flags-CCLD ${LDFLAGS})}" export CROSS{C,LD}FLAGS fi |