diff options
| author | Dan Engelbrecht <[email protected]> | 2025-06-18 14:09:36 +0200 |
|---|---|---|
| committer | Dan Engelbrecht <[email protected]> | 2025-06-18 14:09:36 +0200 |
| commit | bcd244800c52de6b47925ea4c6ab5af8e94bae64 (patch) | |
| tree | e667fc431ae9237f1cf38ba9d42791a013dbaab3 /xmake.lua | |
| parent | remove explicit set_strip statement (diff) | |
| download | zen-bcd244800c52de6b47925ea4c6ab5af8e94bae64.tar.xz zen-bcd244800c52de6b47925ea4c6ab5af8e94bae64.zip | |
symbol gen hack-fix for linuxv5.6.13-pre3
Diffstat (limited to 'xmake.lua')
| -rw-r--r-- | xmake.lua | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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") |