aboutsummaryrefslogtreecommitdiff
path: root/xmake.lua
diff options
context:
space:
mode:
authorDan Engelbrecht <[email protected]>2024-10-10 09:41:30 +0200
committerGitHub Enterprise <[email protected]>2024-10-10 09:41:30 +0200
commitd0c691be85e26399caaf7c3fa4071d56fe4255c5 (patch)
treec0510b50ba9cb86209d2d4d929392a6f9dff407b /xmake.lua
parentdon't read chunks into memory during cache batch fetch unless we may cache th... (diff)
downloadzen-d0c691be85e26399caaf7c3fa4071d56fe4255c5.tar.xz
zen-d0c691be85e26399caaf7c3fa4071d56fe4255c5.zip
Revert "remove temporary workaround involving _LIBCPP_DISABLE_AVAILABILITY (#191)" (#193)
This reverts commit e809931618b443809e9740edb70a62d0cab01f87.
Diffstat (limited to 'xmake.lua')
-rw-r--r--xmake.lua6
1 files changed, 6 insertions, 0 deletions
diff --git a/xmake.lua b/xmake.lua
index 7ada74977..a8256dbd5 100644
--- a/xmake.lua
+++ b/xmake.lua
@@ -93,6 +93,12 @@ if is_os("windows") then
-- add_ldflags("/MAP")
end
+if is_os("macosx") then
+ -- temporary workaround for xcode 12.1 (UE minimum spec is 12.5)
+ -- TODO: once CI is updated we should remove this
+ add_defines("_LIBCPP_DISABLE_AVAILABILITY")
+end
+
if is_os("linux") or is_os("macosx") then
add_cxxflags("-Wno-implicit-fallthrough")
add_cxxflags("-Wno-missing-field-initializers")