Commit | Line | Data |
---|---|---|
cc84b08c SB |
1 | Use gcc as the default C compiler if CC is not set. |
2 | ||
036c86be RW |
3 | diff -ru gobject-introspection-1.58.1.orig/giscanner/__init__.py gobject-introspection-1.58.1/giscanner/__init__.py |
4 | --- gobject-introspection-1.58.1.orig/giscanner/__init__.py 1970-01-01 01:00:00.000000000 +0100 | |
5 | +++ gobject-introspection-1.58.1/giscanner/__init__.py 2018-12-03 13:33:28.788971299 +0100 | |
6 | @@ -22,6 +22,8 @@ | |
cc84b08c SB |
7 | builddir = os.environ.get('UNINSTALLED_INTROSPECTION_BUILDDIR') |
8 | if builddir is not None: | |
9 | __path__.append(os.path.join(builddir, 'giscanner')) | |
10 | +if not 'CC' in os.environ: | |
11 | + os.environ['CC'] = 'gcc' | |
036c86be RW |
12 | try: |
13 | from ._version import __version__ | |
14 | except ImportError: |