diff options
| author | liruncong <[email protected]> | 2022-02-23 20:45:27 +0800 |
|---|---|---|
| committer | liruncong <[email protected]> | 2022-02-23 20:45:27 +0800 |
| commit | ed712069ef06093c33a256bef0a483d853e55bc7 (patch) | |
| tree | 471c7b27174552661a74fa0dcabc0aa11fb345e1 /tools | |
| parent | a0fadd4e5a01f705328a73194d39f383539b8927 (diff) | |
修正切换scons版本(比如最新的4.3.0)后,编译时在"scons: Reading SConscript files ..."后打印出"b''"的问题
Diffstat (limited to 'tools')
| -rw-r--r-- | tools/gcc.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/gcc.py b/tools/gcc.py index 8c9685d52b..1b31d5d549 100644 --- a/tools/gcc.py +++ b/tools/gcc.py @@ -113,7 +113,7 @@ def GCCResult(rtconfig, str): stdout, stderr = child.communicate() # print(stdout) - if stderr != '': + if stderr != '' and stderr != b'': print(stderr) have_fdset = 0 |
