aboutsummaryrefslogtreecommitdiff
path: root/xmake.lua
diff options
context:
space:
mode:
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")