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" }
|
buildoptions{ "/bigobj" }
|
||||||
end
|
end
|
||||||
|
|
||||||
|
if os.is("windows") and not is_vs() then
|
||||||
|
buildoptions{ "-Wa,-mbig-obj" }
|
||||||
|
linkoptions { "-Wl,--export-all-symbols" }
|
||||||
|
end
|
||||||
|
|
||||||
project "SheenBidi-static"
|
project "SheenBidi-static"
|
||||||
kind "StaticLib"
|
kind "StaticLib"
|
||||||
language "C"
|
language "C"
|
||||||
|
|||||||
@@ -1221,6 +1221,9 @@ workspace "eepp"
|
|||||||
target_dir_thirdparty()
|
target_dir_thirdparty()
|
||||||
filter "action:vs*"
|
filter "action:vs*"
|
||||||
buildoptions{ "/bigobj" }
|
buildoptions{ "/bigobj" }
|
||||||
|
filter { "system:windows", "action:not vs*" }
|
||||||
|
buildoptions{ "-Wa,-mbig-obj" }
|
||||||
|
linkoptions { "-Wl,--export-all-symbols" }
|
||||||
|
|
||||||
project "SheenBidi-static"
|
project "SheenBidi-static"
|
||||||
kind "StaticLib"
|
kind "StaticLib"
|
||||||
|
|||||||
@@ -67,8 +67,13 @@ fi
|
|||||||
if [[ "$CONFIG" == *"arm64"* ]]; then
|
if [[ "$CONFIG" == *"arm64"* ]]; then
|
||||||
bash ./build_sdl2.sh --arch=arm64 || exit 1
|
bash ./build_sdl2.sh --arch=arm64 || exit 1
|
||||||
else
|
else
|
||||||
export CC=x86_64-w64-mingw32-gcc-posix
|
if command -v x86_64-w64-mingw32-gcc-posix &> /dev/null; then
|
||||||
export CXX=x86_64-w64-mingw32-g++-posix
|
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
|
fi
|
||||||
|
|
||||||
cd ../../make/windows/ || exit
|
cd ../../make/windows/ || exit
|
||||||
|
|||||||
Reference in New Issue
Block a user