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