aboutsummaryrefslogtreecommitdiff
path: root/compilers.py
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2015-06-22 21:42:00 +0300
committerJussi Pakkanen <jpakkane@gmail.com>2015-06-22 21:42:00 +0300
commitec761ce5607e9187388590fbe06437a922dc194e (patch)
tree8eec13ad073825bb194c484cd1a12f4f47a76c1e /compilers.py
parent2b3b0ee449c3792cd651994a16aa7ab612d0b68d (diff)
downloadmeson-ec761ce5607e9187388590fbe06437a922dc194e.zip
meson-ec761ce5607e9187388590fbe06437a922dc194e.tar.gz
meson-ec761ce5607e9187388590fbe06437a922dc194e.tar.bz2
Add gcctype for objc. Closes #179. Closes #180.
Diffstat (limited to 'compilers.py')
-rw-r--r--compilers.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/compilers.py b/compilers.py
index ad090e4..2123451 100644
--- a/compilers.py
+++ b/compilers.py
@@ -1079,6 +1079,9 @@ class GnuObjCCompiler(ObjCCompiler):
def __init__(self, exelist, version, is_cross, exe_wrapper=None):
ObjCCompiler.__init__(self, exelist, version, is_cross, exe_wrapper)
self.id = 'gcc'
+ # Not really correct, but GNU objc is only used on non-OSX non-win. File a bug
+ # if this breaks your use case.
+ self.gcc_type = GCC_STANDARD
def get_std_warn_args(self):
return GnuObjCCompiler.std_warn_args
@@ -1102,6 +1105,9 @@ class GnuObjCPPCompiler(ObjCPPCompiler):
def __init__(self, exelist, version, is_cross, exe_wrapper=None):
ObjCCompiler.__init__(self, exelist, version, is_cross, exe_wrapper)
self.id = 'gcc'
+ # Not really correct, but GNU objc is only used on non-OSX non-win. File a bug
+ # if this breaks your use case.
+ self.gcc_type = GCC_STANDARD
def get_std_warn_args(self):
return GnuObjCPPCompiler.std_warn_args