diff options
| author | ruki <[email protected]> | 2024-01-22 22:41:59 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2024-01-25 12:09:58 +0800 |
| commit | 4f7105af06f2b9f390b3441328911b48cb35b7e9 (patch) | |
| tree | 0bff8e691b26f1d97f35a5255d9b4070fcefa8f6 /xmake/modules/core/tools/clang.lua | |
| parent | 5d2f15a1004be7baaaeb08b2e196ad77c52f9647 (diff) | |
improve compile runtime rules
Diffstat (limited to 'xmake/modules/core/tools/clang.lua')
| -rw-r--r-- | xmake/modules/core/tools/clang.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/xmake/modules/core/tools/clang.lua b/xmake/modules/core/tools/clang.lua index c9c6b854d..7e1f37b8d 100644 --- a/xmake/modules/core/tools/clang.lua +++ b/xmake/modules/core/tools/clang.lua @@ -207,6 +207,7 @@ function nf_runtime(self, runtime) end return maps and maps[runtime] else + --[[ local maps if kind == "cxx" then maps = { @@ -222,7 +223,7 @@ function nf_runtime(self, runtime) ["stdc++_static"] = {"-stdlib=libstdc++", "-static-libstdc++"}, ["stdc++_shared"] = "-stdlib=libstdc++", } - end + end]] return maps and maps[runtime] end end |
