diff options
| author | sagitattoo <[email protected]> | 2017-09-25 22:55:26 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2017-09-25 22:55:26 +0800 |
| commit | 8c4b9461e2a22f4097bbedc3ec66330ceb893689 (patch) | |
| tree | 5a416c9719d76a76fa8e559346e372458e26d961 /bsp/frdm-k64f/rtconfig.py | |
| parent | d79898a95796c1ccecef7c600a797e618954f21e (diff) | |
Update rtconfig.py
when "PLATFORM == armcc", the option "CFLAGS += ' -g -O0' " needs to change to "CFLAGS += ' --c99 -g -O0'" to support the keyword "inline"
Diffstat (limited to 'bsp/frdm-k64f/rtconfig.py')
| -rw-r--r-- | bsp/frdm-k64f/rtconfig.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bsp/frdm-k64f/rtconfig.py b/bsp/frdm-k64f/rtconfig.py index a40c66dcf2..baaf4905fa 100644 --- a/bsp/frdm-k64f/rtconfig.py +++ b/bsp/frdm-k64f/rtconfig.py @@ -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' |
