update armcc compiler options to support debug in Keil.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@122 bbd45198-f89e-11dd-88c7-29a3b14d5316
This commit is contained in:
parent
55263df881
commit
19c6eedc69
|
@ -62,7 +62,8 @@ elif PLATFORM == 'armcc':
|
|||
EXEC_PATH += '/arm/bin40/'
|
||||
|
||||
if BUILD == 'debug':
|
||||
CFLAGS += ' --dwarf2'
|
||||
CFLAGS += ' -g -O0'
|
||||
AFLAGS += ' -g'
|
||||
else:
|
||||
CFLAGS += ' -O2'
|
||||
|
||||
|
|
Loading…
Reference in New Issue