aboutsummaryrefslogtreecommitdiff
path: root/xmake.lua
diff options
context:
space:
mode:
authorMartin Ridgers <[email protected]>2021-12-16 13:31:06 +0100
committerMartin Ridgers <[email protected]>2022-01-05 09:34:12 +0100
commit1391035aa3aa111b50c4e79aae50a51d6f017c56 (patch)
tree5e71ffbd844dbbfdf44399ed753a77f6db2b0bf5 /xmake.lua
parentFix issues with deployment python script due to removal of sln files. (diff)
downloadzen-1391035aa3aa111b50c4e79aae50a51d6f017c56.tar.xz
zen-1391035aa3aa111b50c4e79aae50a51d6f017c56.zip
Add compiler flags for GCC-compatible toolchains on Mac too
Diffstat (limited to 'xmake.lua')
-rw-r--r--xmake.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake.lua b/xmake.lua
index e56261f27..03bc1ded5 100644
--- a/xmake.lua
+++ b/xmake.lua
@@ -57,7 +57,7 @@ if is_os("windows") then
-- add_ldflags("/MAP")
end
-if is_os("linux") then
+if is_os("linux") or is_os("macosx") then
add_cxxflags("-Wno-unused-value")
add_cxxflags("-Wno-strict-aliasing")
add_cxxflags("-Wno-implicit-fallthrough")