[PATCH v3 0/1] MR10953: Update default i386 CFLAGS
The immediate reason for this is !10716, but I suspect it might come in handy in other places as well. FWIW I've been building Wine with similar CFLAGS for many, many years. -- v3: configure: Add x86-64 CPU features to default i386_EXTRACFLAGS. https://gitlab.winehq.org/wine/wine/-/merge_requests/10953
From: Matteo Bruni <mbruni@codeweavers.com> The most restrictive of those is SSE2, which has been supported by x86 CPUs since the Intel Pentium 4 (2000) and the AMD Athlon 64 (2003). --- configure.ac | 1 + 1 file changed, 1 insertion(+) diff --git a/configure.ac b/configure.ac index f91c06f476f..74f6e988df8 100644 --- a/configure.ac +++ b/configure.ac @@ -629,6 +629,7 @@ This is an error since --enable-archs=$wine_arch was requested.])]) i386) WINE_TRY_PE_CFLAGS([-fno-omit-frame-pointer]) WINE_TRY_PE_CFLAGS([-mpreferred-stack-boundary=2]) WINE_TRY_PE_CFLAGS([-mlong-double-64]) + WINE_TRY_PE_CFLAGS([-msse2]) WINE_TRY_PE_CFLAGS([-Wl,--disable-stdcall-fixup], [AS_VAR_APPEND([${wine_arch}_LDFLAGS],[" -Wl,--disable-stdcall-fixup"])]) ;; x86_64) WINE_TRY_PE_CFLAGS([-Wformat-overflow]) -- GitLab https://gitlab.winehq.org/wine/wine/-/merge_requests/10953
On Thu Jun 4 08:58:32 2026 +0000, Matteo Bruni wrote:
changed this line in [version 3 of the diff](/wine/wine/-/merge_requests/10953/diffs?diff_id=272788&start_sha=606ff587e97ca6769f3b42258d3349552a12865e#87db583be5c13c1f7b3c958b10e03d67b6a2ca06_635_633) There was not much of a point; I just enumerated the flags enabled by `-march=x86-64`, of which `-mfxsr` is the only one not implied by `-msse2` and I guess not one that's likely to matter for us.
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/10953#note_142177
participants (2)
-
Matteo Bruni -
Matteo Bruni (@Mystral)