summaryrefslogtreecommitdiff
path: root/components/drivers
diff options
context:
space:
mode:
authorguozhanxin <[email protected]>2021-12-22 00:39:08 +0800
committerBernard Xiong <[email protected]>2021-12-22 13:03:05 +0800
commita5f6fdc780d55f2bf2a1624815879e15c51082b5 (patch)
tree2b6c18c4f220e7ce124be0ead2cd3080d3668bf9 /components/drivers
parentf20eef99db5ef5a499e4af71275a73a7eedcca41 (diff)
add clang-arm support.
Diffstat (limited to 'components/drivers')
-rw-r--r--components/drivers/spi/SConscript2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/drivers/spi/SConscript b/components/drivers/spi/SConscript
index d6cb93f7f1..da14ed5fef 100644
--- a/components/drivers/spi/SConscript
+++ b/components/drivers/spi/SConscript
@@ -25,7 +25,7 @@ if GetDepend('RT_USING_SFUD'):
CPPPATH += [cwd + '/sfud/inc']
if GetDepend('RT_SFUD_USING_SFDP'):
src_device += ['sfud/src/sfud_sfdp.c']
- if rtconfig.CROSS_TOOL == 'gcc':
+ if rtconfig.CROSS_TOOL == 'gcc' or rtconfig.CROSS_TOOL == 'clang':
LOCAL_CCFLAGS += ' -std=c99'
elif rtconfig.CROSS_TOOL == 'keil':
if rtconfig.PLATFORM == 'armcc':