summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorMathieu Othacehe <othacehe@gnu.org>2021-09-17 08:41:36 +0200
committerMathieu Othacehe <othacehe@gnu.org>2021-09-17 08:42:40 +0200
commit716470cda447e8cc3e73b09a8dfdcf1032aa37f2 (patch)
tree7ec65320bc1b9343f0b7ca058722feea35faf471 /gnu
parentf62e47df8d4b5a9129de8d220eb380673cc1729a (diff)
downloadguix-716470cda447e8cc3e73b09a8dfdcf1032aa37f2.tar.gz
gnu: gnome-control-center: Fix build.
* gnu/packages/gnome.scm (gnome-control-center)[arguments]: Add a 'set-cflags
phase.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/gnome.scm6
1 files changed, 6 insertions, 0 deletions
diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index 2550e4f2e0..a12360873d 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -8374,6 +8374,12 @@ devices using the GNOME desktop.")
                   (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 _