mirror of
https://github.com/Neo-Desktop/WindowsXPKg
synced 2025-12-08 19:25:13 +02:00
i686
This commit is contained in:
2
.github/workflows/windows.yml
vendored
2
.github/workflows/windows.yml
vendored
@@ -112,7 +112,7 @@ jobs:
|
|||||||
export MSYSTEM=MINGW32
|
export MSYSTEM=MINGW32
|
||||||
echo "Compiling 32-bit OpenSSL..."
|
echo "Compiling 32-bit OpenSSL..."
|
||||||
cd openssl-3.1.2
|
cd openssl-3.1.2
|
||||||
/usr/bin/perl Configure mingw --prefix=$(cygpath -u "$GITHUB_WORKSPACE")/OpenSSL-TDM-32 --openssldir=$(cygpath -u "$GITHUB_WORKSPACE")/OpenSSL-TDM-32 no-tests no-sse2 no-asm no-threads -DOPENSSL_DEV_NO_ATOMICS -mno-mmx -mno-sse -mno-sse2 -march=i386 -mtune=generic
|
/usr/bin/perl Configure mingw --prefix=$(cygpath -u "$GITHUB_WORKSPACE")/OpenSSL-TDM-32 --openssldir=$(cygpath -u "$GITHUB_WORKSPACE")/OpenSSL-TDM-32 no-tests no-sse2 no-asm no-threads -DOPENSSL_DEV_NO_ATOMICS -mno-mmx -mno-sse -mno-sse2 -march=i686 -mtune=generic
|
||||||
mingw32-make -j
|
mingw32-make -j
|
||||||
mingw32-make install_sw
|
mingw32-make install_sw
|
||||||
cd ..
|
cd ..
|
||||||
|
|||||||
@@ -36,8 +36,8 @@ if (WIN32 AND NOT MSVC)
|
|||||||
# Match resource architecture with target architecture
|
# Match resource architecture with target architecture
|
||||||
if(CMAKE_SIZEOF_VOID_P EQUAL 4)
|
if(CMAKE_SIZEOF_VOID_P EQUAL 4)
|
||||||
set(CMAKE_RC_FLAGS "${CMAKE_RC_FLAGS} -F pe-i386 --target=pe-i386")
|
set(CMAKE_RC_FLAGS "${CMAKE_RC_FLAGS} -F pe-i386 --target=pe-i386")
|
||||||
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -march=i486 -mtune=generic -mno-sse -mno-sse2 -mno-mmx -mno-3dnow")
|
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -march=i686 -mtune=generic -mno-sse -mno-sse2 -mno-mmx -mno-3dnow")
|
||||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -march=i486 -mtune=generic -mno-sse -mno-sse2 -mno-mmx -mno-3dnow -DATOMIC_FORCE_NO_ATOMICS")
|
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -march=i686 -mtune=generic -mno-sse -mno-sse2 -mno-mmx -mno-3dnow -DATOMIC_FORCE_NO_ATOMICS")
|
||||||
else()
|
else()
|
||||||
set(CMAKE_RC_FLAGS "${CMAKE_RC_FLAGS} -F pe-x86-64 --target=pe-x86-64")
|
set(CMAKE_RC_FLAGS "${CMAKE_RC_FLAGS} -F pe-x86-64 --target=pe-x86-64")
|
||||||
endif()
|
endif()
|
||||||
|
|||||||
Reference in New Issue
Block a user