aboutsummaryrefslogtreecommitdiff
path: root/xmake.lua
diff options
context:
space:
mode:
authorLiam Mitchell <[email protected]>2025-06-13 22:47:45 +0000
committerLiam Mitchell <[email protected]>2025-06-13 22:47:45 +0000
commit0e125c72c58d41f6088aefde6e0d4e9c00b85578 (patch)
tree76792d3b02954c1cc77270d98e659a1bad915d07 /xmake.lua
parentUpdate to recent UE toolchain, and link statically against toolchain libc++ a... (diff)
downloadzen-0e125c72c58d41f6088aefde6e0d4e9c00b85578.tar.xz
zen-0e125c72c58d41f6088aefde6e0d4e9c00b85578.zip
Use llvm-objcopy provided by UE toolchain
Diffstat (limited to 'xmake.lua')
-rw-r--r--xmake.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/xmake.lua b/xmake.lua
index d2ba88df5..2b72b8af3 100644
--- a/xmake.lua
+++ b/xmake.lua
@@ -47,6 +47,7 @@ if is_plat("linux") and "$(env UE_TOOLCHAIN_DIR)" ~= "" then
add_ldflags("-static-libstdc++")
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")