summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIonen Wolkens <ionen@gentoo.org>2023-08-10 05:08:22 -0400
committerIonen Wolkens <ionen@gentoo.org>2023-08-10 06:35:03 -0400
commit20894379a00ea6f482884d4159217ce3b1bc21a2 (patch)
tree5e7e0ba2df9f29c529c999b634a2933a9be897f0 /app-emulation/wine-staging/wine-staging-8.13.ebuild
parentapp-emulation/wine-vanilla: skip -mno-avx with USE=custom-cflags (diff)
downloadgentoo-20894379a00ea6f482884d4159217ce3b1bc21a2.tar.gz
gentoo-20894379a00ea6f482884d4159217ce3b1bc21a2.tar.bz2
gentoo-20894379a00ea6f482884d4159217ce3b1bc21a2.zip
app-emulation/wine-staging: skip -mno-avx with USE=custom-cflags
Don't recommend it (even hardly recommend -march=native!), but some users like ricing their wine and would rather not see this if it "works for me". Others like filter-lto stay regardless given that just will not build. Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Diffstat (limited to 'app-emulation/wine-staging/wine-staging-8.13.ebuild')
-rw-r--r--app-emulation/wine-staging/wine-staging-8.13.ebuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/app-emulation/wine-staging/wine-staging-8.13.ebuild b/app-emulation/wine-staging/wine-staging-8.13.ebuild
index d2092db2b690..7af88917ad54 100644
--- a/app-emulation/wine-staging/wine-staging-8.13.ebuild
+++ b/app-emulation/wine-staging/wine-staging-8.13.ebuild
@@ -316,7 +316,7 @@ src_configure() {
# disabling is seen as safer, e.g. `WINEARCH=win32 winecfg`
# crashes with -march=skylake >=wine-8.10, similar issues with
# znver4: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110273
- append-cflags -mno-avx
+ use custom-cflags || append-cflags -mno-avx
CC=${mingwcc} test-flags-CC ${CFLAGS:--O2}
)"