diff --git a/packages/b/boost/xmake.lua b/packages/b/boost/xmake.lua index b900c2c99..35318d504 100644 --- a/packages/b/boost/xmake.lua +++ b/packages/b/boost/xmake.lua @@ -261,6 +261,11 @@ package("boost") table.insert(argv, "--with-" .. libname) end end + + if package:is_plat("linux") then + table.insert(argv, "pch=off") + end + os.vrunv("./b2", argv, {envs = runenvs}) end)