compilers: remove dead code

It doesn't matter whether the language is c or cpp, xc16 only has a C
compiler so that's what this has to be.
pull/10810/head
Eli Schwartz 3 years ago
parent 5c4cd9162e
commit 4487a256e0
No known key found for this signature in database
GPG Key ID: CEB167EFB5722BD6
  1. 2
      mesonbuild/compilers/detect.py

@ -647,7 +647,7 @@ def _detect_c_or_cpp_compiler(env: 'Environment', lang: str, for_machine: Machin
exe_wrap, full_version=full_version, linker=linker)
if 'Microchip Technology' in out:
cls = Xc16CCompiler if lang == 'c' else Xc16CCompiler
cls = Xc16CCompiler
env.coredata.add_lang_args(cls.language, cls, for_machine, env)
linker = Xc16DynamicLinker(for_machine, version=version)
return cls(

Loading…
Cancel
Save