From: Michał Górny Date: Sun, 29 Apr 2018 11:07:43 +0000 (+0200) Subject: dev-python/cython: Build tests with -fno-strict-overflow X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=a69d2ddf9372db201cd62a6f72ffc56628c04a30;p=gentoo.git 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 --- diff --git a/dev-python/cython/cython-0.28.2.ebuild b/dev-python/cython/cython-0.28.2.ebuild index 23c25226c41a..eecc7a4ba326 100644 --- a/dev-python/cython/cython-0.28.2.ebuild +++ b/dev-python/cython/cython-0.28.2.ebuild @@ -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}" }