dev-python/cython: Build tests with -fno-strict-overflow

Pass -fno-strict-overflow to work around test failures.

Bug: https://github.com/cython/cython/issues/1911
This commit is contained in:
Michał Górny
2018-04-29 13:07:43 +02:00
parent 401f34e097
commit a69d2ddf93

View File

@@ -52,6 +52,8 @@ python_compile_all() {
python_test() {
tc-export CC
# https://github.com/cython/cython/issues/1911
local -x CFLAGS="${CFLAGS} -fno-strict-overflow"
"${PYTHON}" runtests.py -vv --work-dir "${BUILD_DIR}"/tests \
|| die "Tests fail with ${EPYTHON}"
}