现在我正在使用以下内容:
export CFLAGS="-O2-isysroot/Developer/SDKs/MacOSX10.5.sdk -arch i386 -I/sw/include/"
export LDFLAGS="-Wl,-syslibroot,/Developer/SDKs/MacOSX10.5.sdk,-L/sw/lib/"
sudo ./configure --prefix=/sw --with-quantum-depth=16 --disable-dependency-tracking --with-x=no --without-perl --enable-static --disable-shared --with-jpeg --with-tiff --disable-assert make
上面的代码仍然生成带有断言的“标识”工具。我正在通过识别损坏的PNG图像来测试这一点。使用断言仅标识崩溃/退出。我在Mac上运行这个。
有没有建议在没有任何断言的情况下构建发布模式?
(我期待一个非常简单的解决方案:)