From 82ccbc40db1d81eb35efd35f915096ddeee3b2b9 Mon Sep 17 00:00:00 2001 From: guozhanxin Date: Wed, 17 May 2023 17:17:38 +0800 Subject: support llvm-arm 16.0 --- components/drivers/spi/SConscript | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'components/drivers/spi/SConscript') diff --git a/components/drivers/spi/SConscript b/components/drivers/spi/SConscript index 27b7a8dd71..e84ed7bb06 100644 --- a/components/drivers/spi/SConscript +++ b/components/drivers/spi/SConscript @@ -29,7 +29,7 @@ if GetDepend('RT_USING_SFUD'): if GetDepend('RT_SFUD_USING_SFDP'): src_device += ['sfud/src/sfud_sfdp.c'] - if rtconfig.PLATFORM in ['gcc', 'armclang']: + if rtconfig.PLATFORM in ['gcc', 'armclang', 'llvm-arm']: LOCAL_CFLAGS += ' -std=c99' elif rtconfig.PLATFORM in ['armcc']: LOCAL_CFLAGS += ' --c99' -- cgit v1.3.1