Move MinGW isystem fix to xmake.lua
This commit is contained in:
parent
6d8734f288
commit
0a2388a343
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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")
|
||||
|
|
|
|||
Loading…
Reference in New Issue