aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Göttsche <cgzones@googlemail.com>2022-03-22 18:06:40 +0100
committerJason Zaman <perfinion@gentoo.org>2022-03-30 19:40:53 -0700
commit2df18d7dce0be89c767a178fe3cad5dadb3b0d27 (patch)
treeaeabec1f64dbc93dccc6a42d44cdd1fd753087db /Makefile
parentpolicy.dtd: more strict bool/tunable and infoflow validation (diff)
downloadhardened-refpolicy-2df18d7dce0be89c767a178fe3cad5dadb3b0d27.tar.gz
hardened-refpolicy-2df18d7dce0be89c767a178fe3cad5dadb3b0d27.tar.bz2
hardened-refpolicy-2df18d7dce0be89c767a178fe3cad5dadb3b0d27.zip
Makefile: invoke python with -bb
Fail on python code calling str(bytes_instance) or str(bytearray_instance), or comparing bytes/bytearray with str. Signed-off-by: Christian Göttsche <cgzones@googlemail.com> Signed-off-by: Jason Zaman <perfinion@gentoo.org>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index ed4a4c40..9b5069b9 100644
--- a/Makefile
+++ b/Makefile
@@ -72,7 +72,7 @@ AWK ?= gawk
GREP ?= egrep
INSTALL ?= install
M4 ?= m4 -E -E
-PYTHON ?= python3 -t -t -E -W error
+PYTHON ?= python3 -bb -t -t -E -W error
SED ?= sed
SORT ?= LC_ALL=C sort
UMASK ?= umask