]> xenbits.xensource.com Git - people/andrewcoop/xen.git/commitdiff
python -Werror
authorAndrew Cooper <andrew.cooper3@citrix.com>
Wed, 3 Jul 2024 21:21:35 +0000 (22:21 +0100)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Wed, 3 Jul 2024 21:21:35 +0000 (22:21 +0100)
Config.mk

index e7aa8ceaaf3b91f14653d8d601c9584bdc015138..3527d1d21e1af82ee5401655e9e3e20ef1efc0dc 100644 (file)
--- a/Config.mk
+++ b/Config.mk
@@ -83,6 +83,9 @@ PYTHON_PREFIX_ARG ?= --prefix="$(prefix)"
 # to permit the user to set PYTHON_PREFIX_ARG to '' to workaround this bug:
 #  https://bugs.launchpad.net/ubuntu/+bug/362570
 
+PYTHONWARNINGS ?= error
+export PYTHONWARNINGS
+
 # cc-option: Check if compiler supports first option, else fall back to second.
 #
 # This is complicated by the fact that with most gcc versions unrecognised