add clang-arm support.

This commit is contained in:
guozhanxin
2021-12-22 00:39:08 +08:00
committed by Bernard Xiong
parent f20eef99db
commit a5f6fdc780
7 changed files with 41 additions and 6 deletions

View File

@@ -7,7 +7,7 @@ group = []
LIBS = ['m'] # link libm
CPPPATH = [cwd]
if rtconfig.PLATFORM == 'gcc':
if rtconfig.PLATFORM == 'gcc' or rtconfig.PLATFORM == 'clang':
if GetDepend('RT_USING_LIBC'):
LIBS += ['c'] # link libc
src += Glob('*.c')