From a262956ed3240d6c4771c362ab5431d4449d2b3f Mon Sep 17 00:00:00 2001 From: "Raine M. Ekman" Date: Wed, 29 May 2024 15:16:35 +0300 Subject: [PATCH] Update CPU to Pentium 4 for win32 builds (#6155) The CPU feature requirements for any currently supported 32-bit version of Windows (8.1 and 10) are PAE, NX and SSE2. That should mean a green light for bumping the CPU we build for to the minimum one with SSE2. --- cmake/build_win32.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/build_win32.sh b/cmake/build_win32.sh index 33cd8ecce..bccda3a48 100755 --- a/cmake/build_win32.sh +++ b/cmake/build_win32.sh @@ -31,7 +31,7 @@ fi export PATH=$MINGW/bin:$PATH export CXXFLAGS="$CFLAGS" if [ "$ARCH" == "32" ]; then - export CFLAGS="-march=pentium3 -mtune=generic -mpreferred-stack-boundary=5 -mfpmath=sse" + export CFLAGS="-march=pentium4 -mtune=generic -mpreferred-stack-boundary=5 -mfpmath=sse" fi CMAKE_OPTS="-DCMAKE_PREFIX_PATH=$MINGW $CMAKE_OPTS"