summaryrefslogtreecommitdiff
path: root/xmake/modules
diff options
context:
space:
mode:
authorruki <[email protected]>2025-12-18 23:01:55 +0800
committerruki <[email protected]>2025-12-18 23:01:55 +0800
commit405eecb3e6de20bdc1012ce22c0fb0afaa861bf2 (patch)
treeca0701600d49274f814d4a3dd8cfd006d2e584b6 /xmake/modules
parent5adfdf2bb54534d8ff04bc54fb072ad3ae3e89d3 (diff)
remove rt flags
Diffstat (limited to 'xmake/modules')
-rw-r--r--xmake/modules/private/utils/toolchain.lua10
1 files changed, 1 insertions, 9 deletions
diff --git a/xmake/modules/private/utils/toolchain.lua b/xmake/modules/private/utils/toolchain.lua
index 3b1224230..37ba7b5d3 100644
--- a/xmake/modules/private/utils/toolchain.lua
+++ b/xmake/modules/private/utils/toolchain.lua
@@ -357,12 +357,4 @@ function set_llvm_runenvs(toolchain)
end
end
--- add compiler-rt for llvm
-function add_llvm_compiler_rt(toolchain)
- local dirs = get_llvm_dirs(toolchain)
- if dirs and dirs.rtlibdir and dirs.rtlink then
- local rtlib_path = path.join(dirs.rtlibdir, path.filename(dirs.rtlink))
- toolchain:add("ldflags", rtlib_path)
- toolchain:add("shflags", rtlib_path)
- end
-end
+