diff options
| author | Martin Ridgers <[email protected]> | 2021-09-29 16:34:08 +0200 |
|---|---|---|
| committer | Martin Ridgers <[email protected]> | 2021-09-29 16:57:32 +0200 |
| commit | 606f75848fbf54a8676c5a189dea916595538808 (patch) | |
| tree | f42f2ae3a6e3f761d3bbaf3bcbd5fc86cb280059 | |
| parent | Set the link dirs and libs that zencore needs on Linux (diff) | |
| download | zen-606f75848fbf54a8676c5a189dea916595538808.tar.xz zen-606f75848fbf54a8676c5a189dea916595538808.zip | |
Global compile flags when building on Linux
| -rw-r--r-- | xmake.lua | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -46,6 +46,14 @@ if is_os("windows") then -- add_ldflags("/MAP") end +if is_os("linux") then + add_cxxflags("-fshort-wchar") + add_cxxflags("-Wno-unused-variable") + add_cxxflags("-Wno-unused-parameter") + add_cxxflags("-Wno-strict-aliasing") + add_cxxflags("-Wno-implicit-fallthrough") +end + add_defines("USE_SENTRY=1") add_defines("ZEN_USE_MIMALLOC=1") |