diff options
| author | Meco Man <[email protected]> | 2022-05-30 18:04:05 -0400 |
|---|---|---|
| committer | guo <[email protected]> | 2022-06-09 07:01:59 +0800 |
| commit | 50f041f5c2fb69b06283f54ce4619a08751d9367 (patch) | |
| tree | 7e21367cb788808018dd4ccf5eee70a8ac2c8d0f /libcpu/sparc-v8/common/SConscript | |
| parent | e622ef3aec4fe36d6348a3e746823dadc213979b (diff) | |
[Scons] 将GCC判断条件改为列表方式,方便后续增加新的编译工具链
Diffstat (limited to 'libcpu/sparc-v8/common/SConscript')
| -rw-r--r-- | libcpu/sparc-v8/common/SConscript | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libcpu/sparc-v8/common/SConscript b/libcpu/sparc-v8/common/SConscript index 03ce583dc1..95df0b4b35 100644 --- a/libcpu/sparc-v8/common/SConscript +++ b/libcpu/sparc-v8/common/SConscript @@ -8,7 +8,7 @@ cwd = GetCurrentDir() src = Glob('*.c') + Glob('*.cpp') CPPPATH = [cwd] -if rtconfig.PLATFORM == 'gcc': +if rtconfig.PLATFORM in ['gcc']: src += Glob('*_init.S') src += Glob('*_gcc.S') |
