diff --git a/.github/workflows/linux-build.yml b/.github/workflows/linux-build.yml index df2ae56a9..2b06f9201 100644 --- a/.github/workflows/linux-build.yml +++ b/.github/workflows/linux-build.yml @@ -67,7 +67,7 @@ jobs: # Build the engine - name: Build Nazara - run: xmake -v + run: xmake # Install the result files - name: Install Nazara diff --git a/.github/workflows/windows-build.yml b/.github/workflows/windows-build.yml index 0131c28cf..6e51fbf01 100644 --- a/.github/workflows/windows-build.yml +++ b/.github/workflows/windows-build.yml @@ -59,7 +59,7 @@ jobs: # Build the engine - name: Build Nazara - run: xmake.exe -v + run: xmake.exe # Install the result files - name: Install Nazara diff --git a/xmake.lua b/xmake.lua index aac4c2ea9..eba3d2c0a 100644 --- a/xmake.lua +++ b/xmake.lua @@ -146,6 +146,9 @@ if is_plat("windows") then add_cxxflags("/bigobj", "/permissive-", "/Zc:__cplusplus", "/Zc:referenceBinding", "/Zc:throwingNew") add_cxflags("/w44062") -- Enable warning: switch case not handled add_cxflags("/wd4251") -- Disable warning: class needs to have dll-interface to be used by clients of class blah blah blah +elseif is_plat("mingw") then + add_cxflags("-Og", "-Wa,-mbig-obj") + add_ldflags("-Wa,-mbig-obj") end for name, module in pairs(modules) do