summaryrefslogtreecommitdiff
path: root/xmake/toolchains/llvm/xmake.lua
diff options
context:
space:
mode:
Diffstat (limited to 'xmake/toolchains/llvm/xmake.lua')
-rw-r--r--xmake/toolchains/llvm/xmake.lua5
1 files changed, 1 insertions, 4 deletions
diff --git a/xmake/toolchains/llvm/xmake.lua b/xmake/toolchains/llvm/xmake.lua
index 61288f1bd..7de57be22 100644
--- a/xmake/toolchains/llvm/xmake.lua
+++ b/xmake/toolchains/llvm/xmake.lua
@@ -57,10 +57,7 @@ toolchain("llvm")
toolchain:add("runtimes", "MT", "MTd", "MD", "MDd")
end
- local dirs = toolchain_utils.get_llvm_dirs(toolchain)
- if dirs and dirs.rt then
- toolchain:add("runenvs", dirs.rt)
- end
+ toolchain_utils.set_llvm_runenvs(toolchain)
-- add target flags
local target