diff options
Diffstat (limited to 'make')
-rw-r--r-- | make/code_format.lua | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/make/code_format.lua b/make/code_format.lua index 17007fdd..48e4c80f 100644 --- a/make/code_format.lua +++ b/make/code_format.lua @@ -22,6 +22,13 @@ lm:source_set 'code_format' { }, macos = { -- macosx10.12不支持完整的std filesystem,只好砍功能 - defines = "NOT_SURPPORT_FILE_SYSTEM", + defines = "NOT_SUPPORT_FILE_SYSTEM", }, + linux = { + defines = (function () + if lm.platform == "linux-arm64" then + return "NOT_SUPPORT_FILE_SYSTEM" + end + end)() + } } |