Some mingw build fixes for my local build.

This commit is contained in:
Martín Lucas Golini
2026-05-14 19:27:16 -03:00
parent 1b34eb7b2f
commit b00547655d
3 changed files with 15 additions and 2 deletions

View File

@@ -1319,6 +1319,11 @@ solution "eepp"
buildoptions{ "/bigobj" }
end
if os.is("windows") and not is_vs() then
buildoptions{ "-Wa,-mbig-obj" }
linkoptions { "-Wl,--export-all-symbols" }
end
project "SheenBidi-static"
kind "StaticLib"
language "C"

View File

@@ -1221,6 +1221,9 @@ workspace "eepp"
target_dir_thirdparty()
filter "action:vs*"
buildoptions{ "/bigobj" }
filter { "system:windows", "action:not vs*" }
buildoptions{ "-Wa,-mbig-obj" }
linkoptions { "-Wl,--export-all-symbols" }
project "SheenBidi-static"
kind "StaticLib"

View File

@@ -67,8 +67,13 @@ fi
if [[ "$CONFIG" == *"arm64"* ]]; then
bash ./build_sdl2.sh --arch=arm64 || exit 1
else
if command -v x86_64-w64-mingw32-gcc-posix &> /dev/null; then
export CC=x86_64-w64-mingw32-gcc-posix
export CXX=x86_64-w64-mingw32-g++-posix
else
export CC=x86_64-w64-mingw32-gcc
export CXX=x86_64-w64-mingw32-g++
fi
fi
cd ../../make/windows/ || exit