aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--thirdparty/xmake.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/thirdparty/xmake.lua b/thirdparty/xmake.lua
index f3abeb3b1..c6eaa45a7 100644
--- a/thirdparty/xmake.lua
+++ b/thirdparty/xmake.lua
@@ -93,6 +93,8 @@ target("blake3")
if is_os("windows") then
add_cflags("/experimental:c11atomics")
add_cflags("/wd4245") -- conversion from 'type1' to 'type2', possible loss of data
+ elseif is_os("macosx") then
+ add_cflags("-Wno-unused-function")
end
if is_arch("x86_64", "x64") then