diff options
| -rw-r--r-- | xmake/modules/private/utils/toolchain.lua | 10 | ||||
| -rw-r--r-- | xmake/toolchains/llvm/xmake.lua | 2 |
2 files changed, 2 insertions, 10 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 + diff --git a/xmake/toolchains/llvm/xmake.lua b/xmake/toolchains/llvm/xmake.lua index 0c660a13a..7e7a199a4 100644 --- a/xmake/toolchains/llvm/xmake.lua +++ b/xmake/toolchains/llvm/xmake.lua @@ -58,7 +58,7 @@ toolchain("llvm") end toolchain_utils.set_llvm_runenvs(toolchain) - toolchain_utils.add_llvm_compiler_rt(toolchain) + -- add target flags local target |
