mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2026-03-25 01:43:49 +08:00
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:
@@ -62,7 +62,8 @@ elif PLATFORM == 'armcc':
|
||||
EXEC_PATH += '/arm/bin40/'
|
||||
|
||||
if BUILD == 'debug':
|
||||
CFLAGS += ' --dwarf2'
|
||||
CFLAGS += ' -g -O0'
|
||||
AFLAGS += ' -g'
|
||||
else:
|
||||
CFLAGS += ' -O2'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user