projects
/
gentoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
401f34e
)
dev-python/cython: Build tests with -fno-strict-overflow
author
Michał Górny
<mgorny@gentoo.org>
Sun, 29 Apr 2018 11:07:43 +0000
(13:07 +0200)
committer
Michał Górny
<mgorny@gentoo.org>
Sun, 29 Apr 2018 11:13:23 +0000
(13:13 +0200)
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
patch
|
blob
|
history
diff --git
a/dev-python/cython/cython-0.28.2.ebuild
b/dev-python/cython/cython-0.28.2.ebuild
index 23c25226c41a521dde1055001b2cbf4369c2ad19..eecc7a4ba32698eca514a4eccd0d28f07d709942 100644
(file)
--- 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}"
}