summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorLeo Famulari <leo@famulari.name>2021-12-18 16:31:43 -0500
committerLeo Famulari <leo@famulari.name>2021-12-18 16:32:44 -0500
commitcfcfda54b38e154a06eeb631301b20ae7be7e6cb (patch)
treea919da02b0cc5bc0036000d9b17e47fee12b14ff /gnu
parent3625cbc3fe815c98883fbdfd3a97dfb63ef5ef90 (diff)
downloadguix-cfcfda54b38e154a06eeb631301b20ae7be7e6cb.tar.gz
gnu: barcode: Fix build with GCC 10.
Reported by bdju on #guix.

* gnu/packages/aidc.scm (barcode)[arguments]: Build with -fcommon.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/aidc.scm3
1 files changed, 3 insertions, 0 deletions
diff --git a/gnu/packages/aidc.scm b/gnu/packages/aidc.scm
index ec038c5d33..5482261a59 100644
--- a/gnu/packages/aidc.scm
+++ b/gnu/packages/aidc.scm
@@ -102,6 +102,9 @@
                (base32
                 "1indapql5fjz0bysyc88cmc54y8phqrbi7c76p71fgjp45jcyzp8"))))
     (build-system gnu-build-system)
+    (arguments
+      ;; Fix build with GCC 10.
+     '(#:configure-flags '("CFLAGS=-fcommon")))
     (synopsis "Convert text strings to printed bars in various standards")
     (description "GNU Barcode is a flexible tool to produce printed barcodes
 from text strings.  It supports a variety of encoding standards and sizing