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:
bernard.xiong 2009-10-22 23:53:35 +00:00
parent 55263df881
commit 19c6eedc69
1 changed files with 2 additions and 1 deletions

View File

@ -62,7 +62,8 @@ elif PLATFORM == 'armcc':
EXEC_PATH += '/arm/bin40/'
if BUILD == 'debug':
CFLAGS += ' --dwarf2'
CFLAGS += ' -g -O0'
AFLAGS += ' -g'
else:
CFLAGS += ' -O2'