mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-01-18 20:03:48 +08:00
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/'
|
||||
|
||||
if BUILD == 'debug':
|
||||
CFLAGS += ' -g -O0'
|
||||
CFLAGS += ' --c99 -g -O0'
|
||||
AFLAGS += ' -g'
|
||||
else:
|
||||
CFLAGS += ' -O2'
|
||||
|
Loading…
x
Reference in New Issue
Block a user