summary refs log tree commit diff
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2021-10-21 15:25:51 +0000
committerRicardo Wurmus <rekado@elephly.net>2021-10-21 15:25:51 +0000
commit777dfcd9e023ea78ac7b592a69df5c98c775c527 (patch)
treeb019ee6a37df98ae4040f0b742fcf350d52125c8
parent0ab197f31f21e5cdfb01a36928424d9acd0b2b38 (diff)
downloadguix-777dfcd9e023ea78ac7b592a69df5c98c775c527.tar.gz
gnu: gerbv: Fix linker error by adding -fcommon to CFLAGS.
* gnu/packages/engineering.scm (gerbv)[arguments]: Set -fcommon option.
-rw-r--r--gnu/packages/engineering.scm4
1 files changed, 3 insertions, 1 deletions
diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm
index e7fe1cd281..e706c89170 100644
--- a/gnu/packages/engineering.scm
+++ b/gnu/packages/engineering.scm
@@ -1,5 +1,5 @@
 ;;; GNU Guix --- Functional package management for GNU
-;;; Copyright © 2015, 2016, 2017, 2018, 2019, 2020 Ricardo Wurmus <rekado@elephly.net>
+;;; Copyright © 2015, 2016, 2017, 2018, 2019, 2020, 2021 Ricardo Wurmus <rekado@elephly.net>
 ;;; Copyright © 2015 Federico Beffa <beffa@fbengineering.ch>
 ;;; Copyright © 2016, 2018, 2020, 2021 Efraim Flashner <efraim@flashner.co.il>
 ;;; Copyright © 2016 David Thompson <davet@gnu.org>
@@ -731,6 +731,8 @@ ready for production.")
                (base32
                 "1d2k43k7i4yvbpi4sw1263a8d0q98z2n7aqhmpinpkih8a681vn5"))))
     (build-system gnu-build-system)
+    (arguments
+     '(#:configure-flags '("CFLAGS=-fcommon")))
     (native-inputs
      `(("glib:bin" ,glib "bin")         ; for glib-compile-schemas, etc.
        ("desktop-file-utils" ,desktop-file-utils)