瀏覽代碼

Address review

Maxime Griot 5 年之前
父節點
當前提交
9853e78810
共有 1 個文件被更改,包括 1 次插入2 次删除
  1. 1 2
      packages/m/mimalloc/xmake.lua

+ 1 - 2
packages/m/mimalloc/xmake.lua

@@ -18,8 +18,7 @@ package("mimalloc")
     end
     end
 
 
     on_install("macosx", "windows", "linux", function (package)
     on_install("macosx", "windows", "linux", function (package)
-        local configs = {}
-        table.insert(configs, "-DMI_OVERRIDE=" .. "OFF")
+        local configs = {"-DMI_OVERRIDE=OFF"}
         table.insert(configs, "-DMI_BUILD_STATIC=" .. (package:config("shared") and "OFF" or "ON"))
         table.insert(configs, "-DMI_BUILD_STATIC=" .. (package:config("shared") and "OFF" or "ON"))
         table.insert(configs, "-DMI_BUILD_SHARED=" .. (package:config("shared") and "ON" or "OFF"))
         table.insert(configs, "-DMI_BUILD_SHARED=" .. (package:config("shared") and "ON" or "OFF"))
         table.insert(configs, "-DMI_SECURE=" .. (package:config("secure") and "ON" or "OFF"))
         table.insert(configs, "-DMI_SECURE=" .. (package:config("secure") and "ON" or "OFF"))