support llvm-arm 16.0

This commit is contained in:
guozhanxin
2023-05-17 17:17:38 +08:00
committed by Man, Jianting (Meco)
parent 48557de148
commit 82ccbc40db
10 changed files with 149 additions and 4 deletions

View File

@@ -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'