File tree Expand file tree Collapse file tree 2 files changed +9
-5
lines changed Expand file tree Collapse file tree 2 files changed +9
-5
lines changed Original file line number Diff line number Diff line change @@ -32,16 +32,13 @@ elseif platform.OS == 'Linux' then
3232 elseif lm .platform == " linux-x64" then
3333 elseif lm .platform == " linux-arm64" then
3434 lm .cc = ' aarch64-linux-gnu-gcc'
35- includeCodeFormat = false
3635 else
3736 error " unknown platform"
3837 end
3938end
4039
4140lm :import " 3rd/bee.lua/make.lua"
42- if includeCodeFormat then
43- lm :import " make/code_format.lua"
44- end
41+ lm :import " make/code_format.lua"
4542
4643lm :source_set ' lpeglabel' {
4744 rootdir = ' 3rd' ,
Original file line number Diff line number Diff line change @@ -22,6 +22,13 @@ lm:source_set 'code_format' {
2222 },
2323 macos = {
2424 -- macosx10.12不支持完整的std filesystem,只好砍功能
25- defines = " NOT_SURPPORT_FILE_SYSTEM " ,
25+ defines = " NOT_SUPPORT_FILE_SYSTEM " ,
2626 },
27+ linux = {
28+ defines = (function ()
29+ if lm .platform == " linux-arm64" then
30+ return " NOT_SUPPORT_FILE_SYSTEM"
31+ end
32+ end )()
33+ }
2734}
You can’t perform that action at this time.
0 commit comments