summaryrefslogtreecommitdiffstats
path: root/security/nss/coreconf/werror.py
diff options
context:
space:
mode:
Diffstat (limited to 'security/nss/coreconf/werror.py')
-rw-r--r--security/nss/coreconf/werror.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/security/nss/coreconf/werror.py b/security/nss/coreconf/werror.py
index 0d3843f64..c469c4002 100644
--- a/security/nss/coreconf/werror.py
+++ b/security/nss/coreconf/werror.py
@@ -24,7 +24,7 @@ def main():
# If we aren't clang, make sure we have gcc 4.8 at least
if not cc_is_clang:
try:
- v = subprocess.check_output([cc, '-dumpversion'], stderr=sink)
+ v = subprocess.check_output([cc, '-dumpversion'], stderr=sink).decode("utf-8")
v = v.strip(' \r\n').split('.')
v = list(map(int, v))
if v[0] < 4 or (v[0] == 4 and v[1] < 8):