[libc] 优化armcc armclang处理 (#5858)

This commit is contained in:
Man, Jianting (Meco) 2022-04-22 01:39:44 -04:00 committed by GitHub
parent 0624bbf009
commit 43484a201d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -6,8 +6,7 @@ cwd = GetCurrentDir()
CPPPATH = [cwd]
group = []
if rtconfig.PLATFORM == 'armcc' or\
rtconfig.PLATFORM == 'armclang' or\
if rtconfig.PLATFORM in ['armcc', 'armclang'] or\
rtconfig.PLATFORM == 'iar' or\
rtconfig.CROSS_TOOL == 'msvc':
group = DefineGroup('Compiler', src, depend = [''], CPPPATH = CPPPATH)