提交 b05f9199 编写于 作者: O Olli-Pekka Heinisuo

try to disable __STRICT_ANSI__ on 32-bit linux

上级 6851d569
......@@ -146,6 +146,8 @@ def main():
cmake_args.append("-DWITH_IPP=OFF") # tests fail with IPP compiled with
# devtoolset-2 GCC 4.8.2 or vanilla GCC 4.9.4
# see https://github.com/skvark/opencv-python/issues/138
if sys.platform.startswith('linux') and not x64:
cmake_args.append("-DCMAKE_CXX_FLAGS=-U__STRICT_ANSI__")
# ABI config variables are introduced in PEP 425
if sys.version_info[:2] < (3, 2):
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册