Update rtconfig.py

when "PLATFORM  == armcc", the option "CFLAGS += '  -g -O0' " needs to change to "CFLAGS += ' --c99 -g -O0'" to support the keyword "inline"
This commit is contained in:
sagitattoo 2017-09-25 22:55:26 +08:00 committed by GitHub
parent d79898a957
commit 8c4b9461e2
1 changed files with 1 additions and 1 deletions

View File

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