diff --git a/packages/m/msys2-base/xmake.lua b/packages/m/msys2-base/xmake.lua index b062c302d..fdef2d7cf 100644 --- a/packages/m/msys2-base/xmake.lua +++ b/packages/m/msys2-base/xmake.lua @@ -8,6 +8,8 @@ package("msys2-base") end}) add_versions("2024.01.13", "04456a44a956d3c0b5f9b6c754918bf3a8c3d87c858be7a0c94c9171ab13c58c") + set_policy("package.precompiled", false) + on_install("@windows|x64", function (package) -- reduce time required to install packages by disabling pacman's disk space checking io.gsub("etc/pacman.conf", "^CheckSpace", "#CheckSpace") diff --git a/packages/m/msys2/xmake.lua b/packages/m/msys2/xmake.lua index e2ba6b974..91ebfaa02 100644 --- a/packages/m/msys2/xmake.lua +++ b/packages/m/msys2/xmake.lua @@ -7,6 +7,8 @@ package("msys2") add_configs("msystem", {description = "Set msys2 system.", type = "string", values = {"MSYS", "MINGW32", "MINGW64", "UCRT64", "CLANG32", "CLANG64", "CLANGARM64"}}) + set_policy("package.precompiled", false) + on_install("@windows|x64", function (package) local msys2_base = package:dep("msys2-base") local msystem = package:config("msystem")