mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-10-20 22:42:40 +08:00
[tools] Modify building.py and gcc.py for work with Python 3.
This commit is contained in:
@@ -148,7 +148,6 @@ def GCCResult(rtconfig, str):
|
|||||||
result += '#define LIBC_POSIX_THREADS 1\n'
|
result += '#define LIBC_POSIX_THREADS 1\n'
|
||||||
|
|
||||||
os.remove('__tmp.c')
|
os.remove('__tmp.c')
|
||||||
f.close()
|
|
||||||
return result
|
return result
|
||||||
|
|
||||||
def GenerateGCCConfig(rtconfig):
|
def GenerateGCCConfig(rtconfig):
|
||||||
|
Reference in New Issue
Block a user