From a69d2ddf9372db201cd62a6f72ffc56628c04a30 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Micha=C5=82=20G=C3=B3rny?= Date: Sun, 29 Apr 2018 13:07:43 +0200 Subject: [PATCH] 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 --- dev-python/cython/cython-0.28.2.ebuild | 2 ++ 1 file changed, 2 insertions(+) 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}" } -- 2.26.2