91a063
Upstream PR:
91a063
https://github.com/codership/galera/pull/512
91a063
91a063
diff -up galera-25.3.23/SConstruct.bak galera-25.3.23/SConstruct
d09808
--- galera-25.3.26/SConstruct.bak	2018-07-13 15:14:49.059835554 +0200
d09808
+++ galera-25.3.26/SConstruct	2018-07-13 15:19:07.717967794 +0200
91a063
@@ -194,8 +194,8 @@ if link != 'default':
91a063
     env.Replace(LINK = link)
91a063
 
91a063
 # Get compiler name/version, CXX may be set to "c++" which may be clang or gcc
d09808
-cc_version = str(read_first_line(env['CC'].split() + ['--version']))
d09808
-cxx_version = str(read_first_line(env['CXX'].split() + ['--version']))
d09808
+cc_version = str(read_first_line(env['CC'].split() + ['--version']).decode())
d09808
+cxx_version = str(read_first_line(env['CXX'].split() + ['--version']).decode())
91a063
 
91a063
 print('Using C compiler executable: ' + env['CC'])
91a063
 print('C compiler version is: ' + cc_version)