mirror of
https://github.com/SpartanJ/eepp.git
synced 2026-05-28 17:16:29 +03:00
Some mingw build fixes for my local build.
This commit is contained in:
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user