gnu: menu-cache: Fix build.

* gnu/packages/lxde.scm (menu-cache)[arguments]: Pass '-fcommon' to CFLAGS.
This commit is contained in:
Guillaume Le Vaillant 2021-08-25 18:47:33 +02:00
parent 24a472d9d5
commit 3e616cae7a
No known key found for this signature in database
GPG key ID: 6BE8208ADF21FE3F

View file

@ -9,6 +9,7 @@
;;; Copyright © 2018, 2019, 2021 Ludovic Courtès <ludo@gnu.org> ;;; Copyright © 2018, 2019, 2021 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2018 Ricardo Wurmus <rekado@elephly.net> ;;; Copyright © 2018 Ricardo Wurmus <rekado@elephly.net>
;;; Copyright © 2019 Meiyo Peng <meiyo@riseup.net> ;;; Copyright © 2019 Meiyo Peng <meiyo@riseup.net>
;;; Copyright © 2021 Guillaume Le Vaillant <glv@posteo.net>
;;; ;;;
;;; This file is part of GNU Guix. ;;; This file is part of GNU Guix.
;;; ;;;
@ -226,6 +227,8 @@ (define-public menu-cache
(inputs `(("glib" ,glib) (inputs `(("glib" ,glib)
("libfm" ,libfm-extra))) ("libfm" ,libfm-extra)))
(native-inputs `(("pkg-config" ,pkg-config))) (native-inputs `(("pkg-config" ,pkg-config)))
(arguments
`(#:configure-flags '("CFLAGS=-fcommon")))
(synopsis "LXDE implementation of the freedesktop menu's cache") (synopsis "LXDE implementation of the freedesktop menu's cache")
(description "Menu-cache is a library creating and utilizing caches to (description "Menu-cache is a library creating and utilizing caches to
speed up the access to freedesktop.org defined application menus.") speed up the access to freedesktop.org defined application menus.")