Skip to content

Commit 47a23a9

Browse files
committed
[spi/SConscript] armclang doesn't support --c99 option.
1 parent 1679a9c commit 47a23a9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/drivers/spi/SConscript

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ if GetDepend('RT_USING_SFUD'):
2828
if rtconfig.CROSS_TOOL == 'gcc':
2929
LOCAL_CCFLAGS += ' -std=c99'
3030
elif rtconfig.CROSS_TOOL == 'keil':
31-
LOCAL_CCFLAGS += ' --c99'
31+
LOCAL_CCFLAGS += ' '
3232

3333
src += src_device
3434

0 commit comments

Comments
 (0)