gnu: foomatic-filters: Fix build.

* gnu/packages/cups.scm (foomatic-filters)[arguments]: Pass the -fcommon flag
to fix compilation with GCC 10.
This commit is contained in:
Mathieu Othacehe 2021-09-27 19:46:40 +00:00
parent 502925655d
commit 98a62011b0
No known key found for this signature in database
GPG key ID: 8354763531769CA6

View file

@ -750,7 +750,7 @@ should only be used as part of the Guix cups-pk-helper service.")
(string-append "ac_cv_path_PPR_LIB="
(assoc-ref %outputs "out")
"/lib/ppr/lib")
"CFLAGS=-fcommon"
;; For some reason these are misdiagnosed.
"ac_cv_func_malloc_0_nonnull=yes"
"ac_cv_func_realloc_0_nonnull=yes")