aboutsummaryrefslogtreecommitdiff
path: root/xmake.lua
diff options
context:
space:
mode:
Diffstat (limited to 'xmake.lua')
-rw-r--r--xmake.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/xmake.lua b/xmake.lua
index 46c403c11..7a54bd236 100644
--- a/xmake.lua
+++ b/xmake.lua
@@ -121,6 +121,7 @@ end
if is_os("linux") then
add_cxxflags("-Wno-vla-cxx-extension")
+ add_defines("_GNU_SOURCE")
end
-- Turn use of undefined cpp macros into errors
@@ -150,7 +151,7 @@ option_end()
add_define_by_config("ZEN_USE_MIMALLOC", "zenmimalloc")
option("zenrpmalloc")
- set_default(is_os("windows"))
+ set_default(true)
set_showmenu(true)
set_description("Use rpmalloc for faster memory management")
option_end()