aboutsummaryrefslogtreecommitdiff
path: root/xmake.lua
diff options
context:
space:
mode:
authorStefan Boberg <[email protected]>2024-08-19 10:45:41 +0200
committerGitHub Enterprise <[email protected]>2024-08-19 10:45:41 +0200
commit2d5909fad0816dbdf2a30ef9c23c12124ad4173d (patch)
tree056264bf5e1f059651a44d64ad44ae195e81e431 /xmake.lua
parentIf we fail to get compression info for a partial request - log and report a m... (diff)
downloadzen-2d5909fad0816dbdf2a30ef9c23c12124ad4173d.tar.xz
zen-2d5909fad0816dbdf2a30ef9c23c12124ad4173d.zip
cleaned up top level xmake (#125)
Diffstat (limited to 'xmake.lua')
-rw-r--r--xmake.lua26
1 files changed, 12 insertions, 14 deletions
diff --git a/xmake.lua b/xmake.lua
index d7221711e..a82ee337e 100644
--- a/xmake.lua
+++ b/xmake.lua
@@ -115,21 +115,19 @@ function add_define_by_config(define, config_name)
add_defines(define.."="..value)
end
-if not is_arch("arm64") then
- option("zensentry")
- set_default(true)
- set_showmenu(true)
- set_description("Enables Sentry support in Zen")
- option_end()
- add_define_by_config("ZEN_USE_SENTRY", "zensentry")
-end
+option("zensentry")
+ set_default(true)
+ set_showmenu(true)
+ set_description("Enables Sentry support")
+option_end()
+add_define_by_config("ZEN_USE_SENTRY", "zensentry")
- option("zenmimalloc")
- set_default(true)
- set_showmenu(true)
- set_description("Use MiMalloc as Zen's allocator")
- option_end()
- add_define_by_config("ZEN_USE_MIMALLOC", "zenmimalloc")
+option("zenmimalloc")
+ set_default(true)
+ set_showmenu(true)
+ set_description("Use MiMalloc for faster memory management")
+option_end()
+add_define_by_config("ZEN_USE_MIMALLOC", "zenmimalloc")
if is_os("windows") then
option("httpsys")