aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorMathieu Othacehe <othacehe@gnu.org>2021-09-27 19:46:40 +0000
committerMathieu Othacehe <othacehe@gnu.org>2021-09-27 19:47:38 +0000
commit98a62011b051ce7f7383b0c6d071c0d2d536e940 (patch)
tree617439950a20cab93f7e68317c03e158db312e0c /gnu
parent502925655d1a51aad544804c8ef492a5d24e1776 (diff)
downloadguix-98a62011b051ce7f7383b0c6d071c0d2d536e940.tar
guix-98a62011b051ce7f7383b0c6d071c0d2d536e940.tar.gz
gnu: foomatic-filters: Fix build.
* gnu/packages/cups.scm (foomatic-filters)[arguments]: Pass the -fcommon flag to fix compilation with GCC 10.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/cups.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/gnu/packages/cups.scm b/gnu/packages/cups.scm
index 0fa126fa53..e9bc4b4d30 100644
--- a/gnu/packages/cups.scm
+++ b/gnu/packages/cups.scm
@@ -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")