mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2026-09-22 19:44:24 +08:00
[Scons] 将GCC判断条件改为列表方式,方便后续增加新的编译工具链
This commit is contained in:
@@ -4,7 +4,7 @@ from building import *
|
||||
# get current directory
|
||||
cwd = GetCurrentDir()
|
||||
|
||||
if rtconfig.PLATFORM == 'gcc':
|
||||
if rtconfig.PLATFORM in ['gcc']:
|
||||
compiler = 'GCC'
|
||||
|
||||
# The set of source files associated with this SConscript file.
|
||||
|
||||
Reference in New Issue
Block a user