[gobject-introspection] dumper: use 'cc' as the default C compiler



commit d355a386f8f03bdfacf6b48a8fccb0a4218cc4fa
Author: Ryan Lortie <desrt desrt ca>
Date:   Sun Dec 8 12:01:43 2013 -0500

    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

 giscanner/dumper.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/giscanner/dumper.py b/giscanner/dumper.py
index 93f2756..ff6c4c1 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 = ''


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]