aboutsummaryrefslogtreecommitdiff
path: root/xmake.lua
diff options
context:
space:
mode:
authorDan Engelbrecht <[email protected]>2025-06-18 14:09:36 +0200
committerDan Engelbrecht <[email protected]>2025-06-18 14:09:36 +0200
commitbcd244800c52de6b47925ea4c6ab5af8e94bae64 (patch)
treee667fc431ae9237f1cf38ba9d42791a013dbaab3 /xmake.lua
parentremove explicit set_strip statement (diff)
downloadzen-bcd244800c52de6b47925ea4c6ab5af8e94bae64.tar.xz
zen-bcd244800c52de6b47925ea4c6ab5af8e94bae64.zip
symbol gen hack-fix for linuxv5.6.13-pre3
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 46c403c11..ce1831e89 100644
--- a/xmake.lua
+++ b/xmake.lua
@@ -48,6 +48,7 @@ if is_plat("linux") and "$(env UE_TOOLCHAIN_DIR)" ~= "" then
add_ldflags("$(projectdir)/thirdparty/ue-libcxx/lib64/libc++.a")
add_ldflags("$(projectdir)/thirdparty/ue-libcxx/lib64/libc++abi.a")
set_toolset("objcopy", "$(env UE_TOOLCHAIN_DIR)/bin/llvm-objcopy")
+
end
add_requires("vcpkg::mimalloc")
@@ -192,6 +193,11 @@ set_languages("cxx20")
-- always generate debug information
set_symbols("debug")
+-- temporary workaround linux build fails with "section [index 46] has invalid sh_entsize: expected 16, but got 0" if we don't strip all symbols
+if is_plat("linux") and "$(env UE_TOOLCHAIN_DIR)" ~= "" then
+ set_strip("all")
+end
+
includes("src/transports")
includes("src/zenbase")
includes("src/zencore", "src/zencore-test")