aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/glib.scm
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2015-01-28 14:27:20 +0100
committerLudovic Courtès <ludo@gnu.org>2015-01-28 14:38:58 +0100
commit88c6b58020c362b47aa907380a5948c8fb31cd0c (patch)
treed6223f93cc5f05895d8f5d327da9ff0044776e35 /gnu/packages/glib.scm
parent2fd22ec52c75d9ac8875891d9242f7a8d422716a (diff)
downloadguix-88c6b58020c362b47aa907380a5948c8fb31cd0c.tar
guix-88c6b58020c362b47aa907380a5948c8fb31cd0c.tar.gz
gnu: Define $CC to placate 'g-ir-scanner'.
* gnu/packages/glib.scm (telepathy-glib)[arguments]: New field. * gnu/packages/gnome.scm (json-glib)[arguments]: New field.
Diffstat (limited to 'gnu/packages/glib.scm')
-rw-r--r--gnu/packages/glib.scm10
1 files changed, 9 insertions, 1 deletions
diff --git a/gnu/packages/glib.scm b/gnu/packages/glib.scm
index bbb57335a5..66ee4fae97 100644
--- a/gnu/packages/glib.scm
+++ b/gnu/packages/glib.scm
@@ -1,5 +1,5 @@
;;; GNU Guix --- Functional package management for GNU
-;;; Copyright © 2013, 2014 Ludovic Courtès <ludo@gnu.org>
+;;; Copyright © 2013, 2014, 2015 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2013, 2015 Andreas Enge <andreas@enge.fr>
;;; Copyright © 2013 Nikita Karetnikov <nikita@karetnikov.org>
;;; Copyright © 2014 Mark H Weaver <mhw@netris.org>
@@ -536,6 +536,14 @@ useful for C++.")
(base32
"1symyzbjmxvksn2ifdkk50lafjm2llf2sbmky062gq2pz3cg23cy"))))
(build-system gnu-build-system)
+ (arguments
+ '(#:phases (alist-cons-before
+ 'build 'set-cc
+ (lambda _
+ ;; Set $CC so that g-ir-scanner works.
+ (setenv "CC" "gcc")
+ #t)
+ %standard-phases)))
(native-inputs
`(("glib" ,glib "bin") ; uses glib-mkenums
("pkg-config" ,pkg-config)