diff options
| author | ruki <[email protected]> | 2026-07-18 18:18:28 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2026-07-18 18:18:28 +0800 |
| commit | c4f4ad6aec62c15fdff13721716a577690e0db81 (patch) | |
| tree | f437029ec559f026bcc6ec26391a127d5d6dc795 | |
| parent | 0cb38ea4d9823ee49d15debb7a94a2fc9e72d3cc (diff) | |
| parent | d861060e3f308ec880b3b16d4c42a08217a53d3f (diff) | |
Merge pull request #7657 from ifarbod/patch/rv64-ndk-ver
Update NDK's sdkver for riscv64 architecture
| -rw-r--r-- | xmake/modules/detect/sdks/find_ndk.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/modules/detect/sdks/find_ndk.lua b/xmake/modules/detect/sdks/find_ndk.lua index ce7a4b712..a89536d5f 100644 --- a/xmake/modules/detect/sdks/find_ndk.lua +++ b/xmake/modules/detect/sdks/find_ndk.lua @@ -95,7 +95,7 @@ function _find_ndk_sdkver(sdkdir, bindir, sysroot, arch) -- try to select the best compatible version local sdkver = "16" if use_llvm or arch == "arm64-v8a" or arch == "riscv64" then - sdkver = (arch == "riscv64") and "35" or "21" + sdkver = (arch == "riscv64") and "36" or "21" end if sysroot then if os.isdir(path.join(sysroot, "usr", "lib", triple, sdkver)) then |
