summaryrefslogtreecommitdiff
path: root/dev-python/lxml
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/lxml')
-rw-r--r--dev-python/lxml/lxml-4.9.3-r2.ebuild4
1 files changed, 4 insertions, 0 deletions
diff --git a/dev-python/lxml/lxml-4.9.3-r2.ebuild b/dev-python/lxml/lxml-4.9.3-r2.ebuild
index 88b5879a3842..611ab03165ac 100644
--- a/dev-python/lxml/lxml-4.9.3-r2.ebuild
+++ b/dev-python/lxml/lxml-4.9.3-r2.ebuild
@@ -76,6 +76,10 @@ python_prepare_all() {
}
python_compile() {
+ local DISTUTILS_ARGS=(
+ # by default it adds -w to CFLAGS
+ --warnings
+ )
tc-export PKG_CONFIG
distutils-r1_python_compile
}