Skip to content

Commit

Permalink
Update clang.lua
Browse files Browse the repository at this point in the history
  • Loading branch information
waruqi authored Feb 5, 2024
1 parent 50cc9f6 commit 6d28c80
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xmake/modules/core/tools/clang.lua
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ function nf_runtime(self, runtime, opt)
end
if not self:is_plat("android") then -- we will set runtimes in android ndk toolchain
maps = maps or {}
local llvm_rootdir = get_config("sdk") or self:get("sdk")
local llvm_rootdir = self:toolchain():sdkdir()
if kind == "cxx" then
maps["c++_static"] = "-stdlib=libc++"
maps["c++_shared"] = "-stdlib=libc++"
Expand Down

0 comments on commit 6d28c80

Please sign in to comment.