diff options
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") |