armclang: clarify that this is support for the Keil cross-compiler

This commit is contained in:
Ben Boeckel
2021-12-16 17:08:10 -05:00
parent e13d92bb6a
commit 28de74c994
3 changed files with 11 additions and 0 deletions

View File

@@ -211,6 +211,10 @@ class EmscriptenCCompiler(EmscriptenMixin, ClangCCompiler):
class ArmclangCCompiler(ArmclangCompiler, CCompiler):
'''
Keil armclang
'''
def __init__(self, exelist: T.List[str], version: str, for_machine: MachineChoice, is_cross: bool,
info: 'MachineInfo', exe_wrapper: T.Optional['ExternalProgram'] = None,
linker: T.Optional['DynamicLinker'] = None,

View File

@@ -296,6 +296,10 @@ class EmscriptenCPPCompiler(EmscriptenMixin, ClangCPPCompiler):
class ArmclangCPPCompiler(ArmclangCompiler, CPPCompiler):
'''
Keil armclang
'''
def __init__(self, exelist: T.List[str], version: str, for_machine: MachineChoice, is_cross: bool,
info: 'MachineInfo', exe_wrapper: T.Optional['ExternalProgram'] = None,
linker: T.Optional['DynamicLinker'] = None,

View File

@@ -136,6 +136,9 @@ class ArmCompiler(Compiler):
class ArmclangCompiler(Compiler):
'''
This is the Keil armclang.
'''
def __init__(self) -> None:
if not self.is_cross: