如何禁用配置中的 "compiler does not halt on function prototype mismatch" 错误?

How to disable "compiler does not halt on function prototype mismatch" error in configure?

我正在尝试在 mac 上编译 curl 源代码,在 运行ning makefile 之前我做了 运行 配置:

./configure --disable-shared --enable-static --disable-dependency-tracking --host=armv7-apple-darwin --disable-ldap

它给出了:

configure: error: compiler does not halt on function prototype mismatch.

如何禁用它?我的编译环境变量是:CC=/usr/bin/clang++

应用此 patch 并重试构建。也许,您希望手动排除有关 configure.ac 或 运行 autoconf 的部分。