summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Lortie <desrt@desrt.ca>2013-12-08 12:01:43 -0500
committerRyan Lortie <desrt@desrt.ca>2013-12-08 12:01:43 -0500
commitd355a386f8f03bdfacf6b48a8fccb0a4218cc4fa (patch)
tree7bb328c994342f5e05d43610a2824d5cecaacd6a
parentcbafcdb323307fd6bb5e48b44167fd995dc933a1 (diff)
downloadgobject-introspection-d355a386f8f03bdfacf6b48a8fccb0a4218cc4fa.tar.gz
dumper: use 'cc' as the default C compiler
If $(CC) is unset, use 'cc' instead of 'gcc' as the default compiler. This matches the behaviour used in the source scanner. https://bugzilla.gnome.org/show_bug.cgi?id=720066
-rw-r--r--giscanner/dumper.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/giscanner/dumper.py b/giscanner/dumper.py
index 93f27569..ff6c4c12 100644
--- a/giscanner/dumper.py
+++ b/giscanner/dumper.py
@@ -82,7 +82,7 @@ class DumpCompiler(object):
self._get_type_functions = get_type_functions
self._error_quark_functions = error_quark_functions
- self._compiler_cmd = os.environ.get('CC', 'gcc')
+ self._compiler_cmd = os.environ.get('CC', 'cc')
self._linker_cmd = os.environ.get('CC', self._compiler_cmd)
self._pkgconfig_cmd = os.environ.get('PKG_CONFIG', 'pkg-config')
self._pkgconfig_msvc_flags = ''