File tree Expand file tree Collapse file tree 2 files changed +14
-13
lines changed
srcpkgs/lua-language-server Expand file tree Collapse file tree 2 files changed +14
-13
lines changed Original file line number Diff line number Diff line change @@ -2,15 +2,16 @@ diff --git a/make/detect_platform.lua b/make/detect_platform.lua
22index 8dba298..fe8ae3e 100644
33--- a/make/detect_platform.lua
44+++ b/make/detect_platform.lua
5- @@ -22,9 +22,8 @@ elseif platform.OS == 'Windows' then
6- end
7- elseif platform.OS == 'Linux' then
8- if lm.platform == nil then
9- - elseif lm.platform == "linux-x64" then
10- - elseif lm.platform == "linux-arm64" then
11- - lm.cc = 'aarch64-linux-gnu-gcc'
12- + elseif os.getenv("CC") then
13- + lm.cc = os.getenv("CC")
5+ @@ -46,9 +46,8 @@
146 else
15- error "unknown platform"
16- end
7+ -- Use default GCC
8+ if lm.platform == nil then
9+ - elseif lm.platform == "linux-x64" then
10+ - elseif lm.platform == "linux-arm64" then
11+ - lm.cc = 'aarch64-linux-gnu-gcc'
12+ + elseif os.getenv("CC") then
13+ + lm.cc = os.getenv("CC")
14+ else
15+ error "unknown platform"
16+ end
17+ end
Original file line number Diff line number Diff line change 11# Template file for 'lua-language-server'
22pkgname=lua-language-server
3- version=3.15.0
3+ version=3.16.4
44revision=1
55hostmakedepends="ninja"
66short_desc="Lua LSP implementation written in Lua"
@@ -9,7 +9,7 @@ license="MIT"
99homepage="https://luals.github.io"
1010changelog="https://raw.githubusercontent.com/LuaLS/lua-language-server/master/changelog.md"
1111distfiles="https://github.com/LuaLS/lua-language-server/releases/download/${version}/lua-language-server-${version}-submodules.zip"
12- checksum=53781a3766d37d49ac3491e666b855f4cb4d43091e5d960d236b805d5f3a7adb
12+ checksum=de8d82d3e368a064190b6c335e77c28bc50446f50cd0c421be4a823d77d0b019
1313
1414do_build() {
1515 ninja -C 3rd/luamake -f compile/ninja/linux.ninja
You can’t perform that action at this time.
0 commit comments