Skip to content

Commit

Permalink
[spi/SConscript] armclang doesn't support --c99 option.
Browse files Browse the repository at this point in the history
  • Loading branch information
wosayttn committed Feb 8, 2021
1 parent 1679a9c commit 47a23a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/drivers/spi/SConscript
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ if GetDepend('RT_USING_SFUD'):
if rtconfig.CROSS_TOOL == 'gcc':
LOCAL_CCFLAGS += ' -std=c99'
elif rtconfig.CROSS_TOOL == 'keil':
LOCAL_CCFLAGS += ' --c99'
LOCAL_CCFLAGS += ' '

src += src_device

Expand Down

0 comments on commit 47a23a9

Please sign in to comment.