From ec761ce5607e9187388590fbe06437a922dc194e Mon Sep 17 00:00:00 2001 From: Jussi Pakkanen Date: Mon, 22 Jun 2015 21:42:00 +0300 Subject: Add gcctype for objc. Closes #179. Closes #180. --- compilers.py | 6 ++++++ 1 file changed, 6 insertions(+) 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 -- cgit v1.1