aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/build.py
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2022-01-10 19:01:11 +0200
committerGitHub <noreply@github.com>2022-01-10 19:01:11 +0200
commit251d6f0f5db26b82f4f0e78f0552cd606bd8d9dd (patch)
tree924b11960206319b8b37763a1fbf776d215a0c52 /mesonbuild/build.py
parent3ab08265c0526509ea9d5a8e8aff0ff5012f8281 (diff)
parentf30e83efd6968eacf07ebe3f1400e06a8a529778 (diff)
downloadmeson-251d6f0f5db26b82f4f0e78f0552cd606bd8d9dd.zip
meson-251d6f0f5db26b82f4f0e78f0552cd606bd8d9dd.tar.gz
meson-251d6f0f5db26b82f4f0e78f0552cd606bd8d9dd.tar.bz2
Merge pull request #9739 from mathstuf/armclang-support
Armclang support
Diffstat (limited to 'mesonbuild/build.py')
-rw-r--r--mesonbuild/build.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/mesonbuild/build.py b/mesonbuild/build.py
index 70f52f9..d8002bf 100644
--- a/mesonbuild/build.py
+++ b/mesonbuild/build.py
@@ -1777,8 +1777,8 @@ class Executable(BuildTarget):
self.suffix = 'exe'
elif machine.system.startswith('wasm') or machine.system == 'emscripten':
self.suffix = 'js'
- elif ('c' in self.compilers and self.compilers['c'].get_id().startswith('arm') or
- 'cpp' in self.compilers and self.compilers['cpp'].get_id().startswith('arm')):
+ elif ('c' in self.compilers and self.compilers['c'].get_id().startswith('armclang') or
+ 'cpp' in self.compilers and self.compilers['cpp'].get_id().startswith('armclang')):
self.suffix = 'axf'
elif ('c' in self.compilers and self.compilers['c'].get_id().startswith('ccrx') or
'cpp' in self.compilers and self.compilers['cpp'].get_id().startswith('ccrx')):