diff options
author | Ionen Wolkens <ionen@gentoo.org> | 2022-11-23 18:09:06 -0500 |
---|---|---|
committer | Ionen Wolkens <ionen@gentoo.org> | 2022-11-23 18:23:11 -0500 |
commit | efbab0dad3aec302f311e6cf6809ff83ff727d9d (patch) | |
tree | 846a168e611dfe1e7521846530a05a9ba1c352f4 /app-emulation | |
parent | app-emulation/wine-staging: adjust mold workaround (diff) | |
download | gentoo-efbab0dad3aec302f311e6cf6809ff83ff727d9d.tar.gz gentoo-efbab0dad3aec302f311e6cf6809ff83ff727d9d.tar.bz2 gentoo-efbab0dad3aec302f311e6cf6809ff83ff727d9d.zip |
app-emulation/wine-proton: adjust mold workaround
-version worked fine but is not correct (typo), so replace it
(--version emits collect2 noise, so also add 2>/dev/null)
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Diffstat (limited to 'app-emulation')
-rw-r--r-- | app-emulation/wine-proton/wine-proton-7.0.4.ebuild | 2 | ||||
-rw-r--r-- | app-emulation/wine-proton/wine-proton-7.0.5.ebuild | 2 | ||||
-rw-r--r-- | app-emulation/wine-proton/wine-proton-7.0.9999.ebuild | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/app-emulation/wine-proton/wine-proton-7.0.4.ebuild b/app-emulation/wine-proton/wine-proton-7.0.4.ebuild index 3b01f3d095cf..031a67e02638 100644 --- a/app-emulation/wine-proton/wine-proton-7.0.4.ebuild +++ b/app-emulation/wine-proton/wine-proton-7.0.4.ebuild @@ -220,7 +220,7 @@ src_configure() { # temporary workaround for tc-ld-force-bfd not yet enforcing with mold # https://github.com/gentoo/gentoo/pull/28355 - [[ $($(tc-getCC) ${LDFLAGS} -Wl,-version) == mold* ]] && + [[ $($(tc-getCC) ${LDFLAGS} -Wl,--version 2>/dev/null) == mold* ]] && append-ldflags -fuse-ld=bfd # build using upstream's way (--with-wine64) diff --git a/app-emulation/wine-proton/wine-proton-7.0.5.ebuild b/app-emulation/wine-proton/wine-proton-7.0.5.ebuild index 82c464535ae9..46cd54a51bd3 100644 --- a/app-emulation/wine-proton/wine-proton-7.0.5.ebuild +++ b/app-emulation/wine-proton/wine-proton-7.0.5.ebuild @@ -220,7 +220,7 @@ src_configure() { # temporary workaround for tc-ld-force-bfd not yet enforcing with mold # https://github.com/gentoo/gentoo/pull/28355 - [[ $($(tc-getCC) ${LDFLAGS} -Wl,-version) == mold* ]] && + [[ $($(tc-getCC) ${LDFLAGS} -Wl,--version 2>/dev/null) == mold* ]] && append-ldflags -fuse-ld=bfd # build using upstream's way (--with-wine64) diff --git a/app-emulation/wine-proton/wine-proton-7.0.9999.ebuild b/app-emulation/wine-proton/wine-proton-7.0.9999.ebuild index eeb9741d6db0..7906e159577b 100644 --- a/app-emulation/wine-proton/wine-proton-7.0.9999.ebuild +++ b/app-emulation/wine-proton/wine-proton-7.0.9999.ebuild @@ -220,7 +220,7 @@ src_configure() { # temporary workaround for tc-ld-force-bfd not yet enforcing with mold # https://github.com/gentoo/gentoo/pull/28355 - [[ $($(tc-getCC) ${LDFLAGS} -Wl,-version) == mold* ]] && + [[ $($(tc-getCC) ${LDFLAGS} -Wl,--version 2>/dev/null) == mold* ]] && append-ldflags -fuse-ld=bfd # build using upstream's way (--with-wine64) |