Move MinGW isystem fix to xmake.lua

This commit is contained in:
SirLynix
2023-04-11 18:17:40 +02:00
parent 6d8734f288
commit 0a2388a343
2 changed files with 2 additions and 1 deletions

View File

@@ -376,6 +376,7 @@ if is_plat("windows") then
elseif is_plat("mingw") then
add_cxflags("-Og", "-Wa,-mbig-obj")
add_ldflags("-Wa,-mbig-obj")
set_policy("package.include_external_headers", false)
elseif is_plat("wasm") then
add_cxflags("-sNO_DISABLE_EXCEPTION_CATCHING")
add_ldflags("-sNO_DISABLE_EXCEPTION_CATCHING", "-sALLOW_MEMORY_GROWTH", "-sWASM_BIGINT")