~ruther/guix-local

ref: b87bf3bbd4fbf064b2d22e4ba5a0727b1fb983b5 guix-local/gnu/packages/patches/gobject-introspection-cc.patch -rw-r--r-- 466 bytes
b87bf3bb — Tobias Geerinckx-Rice gnu: lxterminal: Update to 0.3.1. 8 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
Use gcc as the default C compiler if CC is not set.


--- gobject-introspection-1.44.0.orig/giscanner/__init__.py	2014-08-04 22:37:07.000000000 +0800
+++ gobject-introspection-1.44.0/giscanner/__init__.py	2015-04-20 17:30:26.507697234 +0800
@@ -22,3 +22,5 @@
 builddir = os.environ.get('UNINSTALLED_INTROSPECTION_BUILDDIR')
 if builddir is not None:
     __path__.append(os.path.join(builddir, 'giscanner'))
+if not 'CC' in os.environ:
+    os.environ['CC'] = 'gcc'