dev-python/libasyncns-python: fix build with glibc-2.25.

Gentoo-Bug: https://bugs.gentoo.org/609388
Closes: https://github.com/gentoo/gentoo/pull/5739
This commit is contained in:
Alexander Tsoy
2017-09-20 18:10:44 +03:00
committed by Patrice Clement
parent 8b8af2bc04
commit b438d54733
2 changed files with 16 additions and 0 deletions

View File

@@ -18,6 +18,8 @@ IUSE=""
DEPEND=">=net-libs/libasyncns-0.4"
RDEPEND="${DEPEND}"
PATCHES=( "${FILESDIR}/${PN}-0.7.1-glibc-2.25.patch" )
python_compile() {
if [[ ${EPYTHON} != python3* ]]; then
local -x CFLAGS="${CFLAGS} -fno-strict-aliasing"