summaryrefslogtreecommitdiff
path: root/xmake/modules/private/utils/toolchain.lua
diff options
context:
space:
mode:
Diffstat (limited to 'xmake/modules/private/utils/toolchain.lua')
-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
+