未随 Homebrew 安装的 Boost 库:无效选项:--c++11

Boost libraries not installed with Homebrew: invalid option: --c++11

这是我使用 Homebrew 在 mac 上安装 boost 时经常使用的语法:

brew install boost --c++11 --universal --link=static --runtime-link=static

今天,我更新了 Homebrew,但我无法再安装 boost。它指出:“错误:无效选项:--c++11”; “无效选项:--universal”;等等

同上: brew install boost --with-c++11 --universal --link=static --runtime-link=static

有人可以告诉我发生了什么变化以及如何解决这个问题吗? OS卡特琳娜,版本 10.15.7。

编辑:我以前从未使用过 MacPorts。使用它安装支持 c++11 的静态 boost 库的正确语法是什么?

非常感谢!

似乎不​​再需要这些选项。我像 brew install boost 一样编译了这个库,这个库是通用的、静态的和 c++11 兼容的。