fix command line too long problem
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1500 bbd45198-f89e-11dd-88c7-29a3b14d5316
This commit is contained in:
parent
56e5e8b1fd
commit
28fbe864e4
|
@ -257,7 +257,7 @@ def PrepareBuilding(env, root_directory, has_libcpu=False):
|
||||||
Rtt_Root = root_directory
|
Rtt_Root = root_directory
|
||||||
|
|
||||||
# patch for win32 spawn
|
# patch for win32 spawn
|
||||||
if env['PLATFORM'] == 'win32' and rtconfig.PLATFORM == 'gcc' and sys.version_info < (2, 6, 0):
|
if env['PLATFORM'] == 'win32' and rtconfig.PLATFORM == 'gcc':
|
||||||
win32_spawn = Win32Spawn()
|
win32_spawn = Win32Spawn()
|
||||||
win32_spawn.env = env
|
win32_spawn.env = env
|
||||||
env['SPAWN'] = win32_spawn.spawn
|
env['SPAWN'] = win32_spawn.spawn
|
||||||
|
|
Loading…
Reference in New Issue