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:
parent
d79898a957
commit
8c4b9461e2
|
@ -74,7 +74,7 @@ elif PLATFORM == 'armcc':
|
||||||
EXEC_PATH += '/arm/bin40/'
|
EXEC_PATH += '/arm/bin40/'
|
||||||
|
|
||||||
if BUILD == 'debug':
|
if BUILD == 'debug':
|
||||||
CFLAGS += ' -g -O0'
|
CFLAGS += ' --c99 -g -O0'
|
||||||
AFLAGS += ' -g'
|
AFLAGS += ' -g'
|
||||||
else:
|
else:
|
||||||
CFLAGS += ' -O2'
|
CFLAGS += ' -O2'
|
||||||
|
|
Loading…
Reference in New Issue