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

@ -94,7 +94,7 @@ jobs:
# Setup compilation mode and install project dependencies
- name: Configure xmake and install dependencies
run: xmake config --arch=${{ matrix.arch }} --mode=${{ matrix.mode }} --ccache=n --ffmpeg=y --shadernodes=y --tests=y --unitybuild=y --yes --policies=package.include_external_headers:n
run: xmake config --arch=${{ matrix.arch }} --mode=${{ matrix.mode }} --ccache=n --ffmpeg=y --shadernodes=y --tests=y --unitybuild=y --yes
# Build the engine
- name: Build Nazara

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")