build: Adjustments for scons running in Python 3.
authorTilman Sauerbeck <tilman@code-monkey.de>
Thu, 13 Feb 2020 19:16:09 +0000 (20:16 +0100)
committerTilman Sauerbeck <tilman@code-monkey.de>
Tue, 18 Feb 2020 20:12:18 +0000 (21:12 +0100)
SConscript.target

index fa4ca1775d42e3ea4d47efce8000a67bdb06e62a..afd10bde73d3de69c6f570d3bf73415e624026b4 100644 (file)
@@ -36,7 +36,7 @@ env.Append(LINKFLAGS = [
 
 libgcc_path = \
     subprocess.check_output('{} -print-libgcc-file-name'.format(env['CC']),
-                            shell=True).strip()
+                            shell=True).strip().decode('utf-8')
 
 env.Append(RUSTCFLAGS = [
     '-C', 'opt-level=s',