compilers: Select correct clang on e2k for C++ and ObjC++

This commit is contained in:
makise-homura 2021-09-29 02:35:53 +03:00 committed by Dylan Baker
parent fe0809360d
commit 0ed2d2719b
1 changed files with 2 additions and 2 deletions

View File

@ -168,9 +168,9 @@ if is_windows():
else:
if platform.machine().lower() == 'e2k':
defaults['c'] = ['cc', 'gcc', 'lcc', 'clang']
defaults['cpp'] = ['c++', 'g++', 'l++', 'clang']
defaults['cpp'] = ['c++', 'g++', 'l++', 'clang++']
defaults['objc'] = ['clang']
defaults['objcpp'] = ['clang']
defaults['objcpp'] = ['clang++']
else:
defaults['c'] = ['cc', 'gcc', 'clang', 'nvc', 'pgcc', 'icc']
defaults['cpp'] = ['c++', 'g++', 'clang++', 'nvc++', 'pgc++', 'icpc']