gnu: gnome-control-center: Fix build.

* gnu/packages/gnome.scm (gnome-control-center)[arguments]: Add a 'set-cflags
phase.
This commit is contained in:
Mathieu Othacehe 2021-09-17 08:41:36 +02:00
parent f62e47df8d
commit 716470cda4
No known key found for this signature in database
GPG key ID: 8354763531769CA6

View file

@ -8374,6 +8374,12 @@ (define-public gnome-control-center
(string-append "\"" gnome-desktop
"/share/gnome/gnome-version.xml\"")))
#t)))
;; XXX: This appears to be fixed in 3.35.90:
;; https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=957285.
(add-before 'configure 'set-cflags
(lambda _
(setenv "CFLAGS" "-fcommon")
#t))
(add-after 'unpack 'skip-gtk-update-icon-cache
;; Don't create 'icon-theme.cache'.
(lambda _