aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/build.py
diff options
context:
space:
mode:
authorBedarkar, Malhar <malhar.bedarkar@cirrus.com>2018-03-05 18:26:39 -0600
committerBedarkar, Malhar <malhar.bedarkar@cirrus.com>2018-03-05 18:26:39 -0600
commita2ee76228e29f4cf5f52197dd2a726620445c81b (patch)
treec1436fc968d8b69c241a91316ec72cc4557c96dc /mesonbuild/build.py
parent7842bc03dd581c4beaa1b94746b5dfe5d38986c6 (diff)
downloadmeson-a2ee76228e29f4cf5f52197dd2a726620445c81b.zip
meson-a2ee76228e29f4cf5f52197dd2a726620445c81b.tar.gz
meson-a2ee76228e29f4cf5f52197dd2a726620445c81b.tar.bz2
First cut of ARMCC support for MESON.
Change-Id: I15d8258e84d392baaccb8f670e33eefcfe8cd49a
Diffstat (limited to 'mesonbuild/build.py')
-rw-r--r--mesonbuild/build.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/mesonbuild/build.py b/mesonbuild/build.py
index 9eb74e9..ea2edc3 100644
--- a/mesonbuild/build.py
+++ b/mesonbuild/build.py
@@ -1178,7 +1178,10 @@ class Executable(BuildTarget):
for_cygwin(is_cross, environment) or 'cs' in self.compilers):
self.suffix = 'exe'
else:
- self.suffix = ''
+ if 'c' in self.compilers and self.compilers['c'].get_id().startswith('arm'):
+ self.suffix = 'axf'
+ else:
+ self.suffix = ''
self.filename = self.name
if self.suffix:
self.filename += '.' + self.suffix