From 1391035aa3aa111b50c4e79aae50a51d6f017c56 Mon Sep 17 00:00:00 2001 From: Martin Ridgers Date: Thu, 16 Dec 2021 13:31:06 +0100 Subject: Add compiler flags for GCC-compatible toolchains on Mac too --- xmake.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xmake.lua') 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") -- cgit v1.2.3