[CI] mingw下才开大栈
This commit is contained in:
@@ -15,17 +15,15 @@ target("Fig")
|
|||||||
elseif is_plat("mingw") then
|
elseif is_plat("mingw") then
|
||||||
-- 1. CI cross (Linux -> Windows)
|
-- 1. CI cross (Linux -> Windows)
|
||||||
-- 2. local dev (Windows + llvm-mingw)
|
-- 2. local dev (Windows + llvm-mingw)
|
||||||
|
add_ldflags("-Wl,--stack,268435456")
|
||||||
set_toolchains("clang")
|
set_toolchains("clang")
|
||||||
-- static lib
|
-- static lib
|
||||||
add_cxxflags("-target x86_64-w64-mingw32", "-static")
|
add_cxxflags("-target x86_64-w64-mingw32", "-static")
|
||||||
|
|
||||||
-- add_ldflags("-target x86_64-w64-mingw32", "-static")
|
-- add_ldflags("-target x86_64-w64-mingw32", "-static")
|
||||||
-- add_cxxflags("-stdlib=libc++")
|
-- add_cxxflags("-stdlib=libc++")
|
||||||
-- add_ldflags("-stdlib=libc++")
|
-- add_ldflags("-stdlib=libc++")
|
||||||
end
|
end
|
||||||
|
|
||||||
add_ldflags("-Wl,--stack,268435456")
|
|
||||||
|
|
||||||
|
|
||||||
add_files("src/main.cpp")
|
add_files("src/main.cpp")
|
||||||
add_files("src/Core/warning.cpp")
|
add_files("src/Core/warning.cpp")
|
||||||
|
|||||||
Reference in New Issue
Block a user