compilers: armclang supports only cross-compilation

Revert the change done to Armclang compiler class in PR-4010
pull/5472/head
sompen 6 years ago committed by Dylan Baker
parent 201ecf52d1
commit 3c461bcf4f
  1. 2
      mesonbuild/compilers/compilers.py

@ -2184,7 +2184,7 @@ class ClangCompiler(GnuLikeCompiler):
class ArmclangCompiler:
def __init__(self, compiler_type):
if self.is_cross:
if not self.is_cross:
raise EnvironmentException('armclang supports only cross-compilation.')
# Check whether 'armlink.exe' is available in path
self.linker_exe = 'armlink.exe'

Loading…
Cancel
Save