unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
blob d9cacf4ca744fd026bd0fa4125e245ef02b720e2 466 bytes (raw)
name: packages/patches/gobject-introspection-cc.patch 	 # note: path name is non-authoritative(*)

 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'

debug log:

solving d9cacf4ca744fd026bd0fa4125e245ef02b720e2 ...
found d9cacf4ca744fd026bd0fa4125e245ef02b720e2 in https://git.savannah.gnu.org/cgit/guix.git

(*) Git path names are given by the tree(s) the blob belongs to.
    Blobs themselves have no identifier aside from the hash of its contents.^

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).