diff options
author | Ionen Wolkens <ionen@gentoo.org> | 2022-07-16 11:39:52 -0400 |
---|---|---|
committer | Ionen Wolkens <ionen@gentoo.org> | 2022-07-16 12:56:35 -0400 |
commit | 346d3aa682588060711493806cd9464bd55291f2 (patch) | |
tree | 42bacea68baf2c667b3b0df72e9d280e54ed34c7 /app-emulation/dxvk | |
parent | dev-util/mingw64-toolchain: filter -fuse-ld for mingw (diff) | |
download | gentoo-346d3aa682588060711493806cd9464bd55291f2.tar.gz gentoo-346d3aa682588060711493806cd9464bd55291f2.tar.bz2 gentoo-346d3aa682588060711493806cd9464bd55291f2.zip |
app-emulation/dxvk: filter -fuse-ld for mingw
flag-o-matic is looking at respecting -fuse-ld for test-flags-CCLD,
which is good but don't want this when doing the user-unexpected
switch to mingw toolchain (filtering feels more solid either way).
Users can use MINGW_BYPASS=1 if really need full control.
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Diffstat (limited to 'app-emulation/dxvk')
-rw-r--r-- | app-emulation/dxvk/dxvk-1.10.1.ebuild | 5 | ||||
-rw-r--r-- | app-emulation/dxvk/dxvk-1.10.2.ebuild | 5 | ||||
-rw-r--r-- | app-emulation/dxvk/dxvk-9999.ebuild | 5 |
3 files changed, 12 insertions, 3 deletions
diff --git a/app-emulation/dxvk/dxvk-1.10.1.ebuild b/app-emulation/dxvk/dxvk-1.10.1.ebuild index d260df14098d..afc25d76d52c 100644 --- a/app-emulation/dxvk/dxvk-1.10.1.ebuild +++ b/app-emulation/dxvk/dxvk-1.10.1.ebuild @@ -64,7 +64,10 @@ src_configure() { append-flags -mno-avx if [[ ${CHOST} != *-mingw* ]]; then - [[ ! -v MINGW_BYPASS ]] && unset AR CC CXX RC STRIP + if [[ ! -v MINGW_BYPASS ]]; then + unset AR CC CXX RC STRIP + filter-flags '-fuse-ld=*' + fi CHOST_amd64=x86_64-w64-mingw32 CHOST_x86=i686-w64-mingw32 diff --git a/app-emulation/dxvk/dxvk-1.10.2.ebuild b/app-emulation/dxvk/dxvk-1.10.2.ebuild index d260df14098d..afc25d76d52c 100644 --- a/app-emulation/dxvk/dxvk-1.10.2.ebuild +++ b/app-emulation/dxvk/dxvk-1.10.2.ebuild @@ -64,7 +64,10 @@ src_configure() { append-flags -mno-avx if [[ ${CHOST} != *-mingw* ]]; then - [[ ! -v MINGW_BYPASS ]] && unset AR CC CXX RC STRIP + if [[ ! -v MINGW_BYPASS ]]; then + unset AR CC CXX RC STRIP + filter-flags '-fuse-ld=*' + fi CHOST_amd64=x86_64-w64-mingw32 CHOST_x86=i686-w64-mingw32 diff --git a/app-emulation/dxvk/dxvk-9999.ebuild b/app-emulation/dxvk/dxvk-9999.ebuild index d260df14098d..afc25d76d52c 100644 --- a/app-emulation/dxvk/dxvk-9999.ebuild +++ b/app-emulation/dxvk/dxvk-9999.ebuild @@ -64,7 +64,10 @@ src_configure() { append-flags -mno-avx if [[ ${CHOST} != *-mingw* ]]; then - [[ ! -v MINGW_BYPASS ]] && unset AR CC CXX RC STRIP + if [[ ! -v MINGW_BYPASS ]]; then + unset AR CC CXX RC STRIP + filter-flags '-fuse-ld=*' + fi CHOST_amd64=x86_64-w64-mingw32 CHOST_x86=i686-w64-mingw32 |