Modify the link mode, compile each component to static library firstly and then link them;
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1406 bbd45198-f89e-11dd-88c7-29a3b14d5316
This commit is contained in:
parent
c99ca774a1
commit
8a9792317f
|
@ -32,7 +32,7 @@ elif rtconfig.PLATFORM == 'armcc':
|
|||
libs = PrepareBuilding(env, RTT_ROOT)
|
||||
|
||||
if GetDepend('RT_USING_RTGUI'):
|
||||
libs = objs + SConscript(RTT_ROOT + '/examples/gui/SConscript', variant_dir='build/examples/gui', duplicate=0)
|
||||
libs = libs + SConscript(RTT_ROOT + '/examples/gui/SConscript', variant_dir='build/examples/gui', duplicate=0)
|
||||
|
||||
# libc testsuite
|
||||
# libs = libs + SConscript(RTT_ROOT + '/examples/libc/SConscript', variant_dir='build/examples/libc', duplicate=0)
|
||||
|
|
Loading…
Reference in New Issue