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
91a063
--- galera-25.3.23/SConstruct.bak	2018-07-13 15:14:49.059835554 +0200
91a063
+++ galera-25.3.23/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
91a063
-cc_version = read_first_line(env['CC'].split() + ['--version'])
91a063
-cxx_version = read_first_line(env['CXX'].split() + ['--version'])
91a063
+cc_version = read_first_line(env['CC'].split() + ['--version']).decode()
91a063
+cxx_version = 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)