summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorGuillaume Le Vaillant <glv@posteo.net>2021-09-10 09:35:51 +0200
committerGuillaume Le Vaillant <glv@posteo.net>2021-09-10 09:35:51 +0200
commitbd8013ab33159a41a94f6a6cd023d585c91ae2ed (patch)
tree8b5e03768473c547b0d8ff4ed3e68d5f4596180b /gnu
parentf83d7663eb7caebeb7462012a4a41ba21ba7e5a8 (diff)
downloadguix-bd8013ab33159a41a94f6a6cd023d585c91ae2ed.tar.gz
gnu: gpredict: Fix building with gcc 10.
* gnu/packages/astronomy.scm (gpredict)[arguments]: Pass '-fcommon' to CFLAGS.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/astronomy.scm3
1 files changed, 2 insertions, 1 deletions
diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index a3f7d5cbf4..5d6efc5827 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -773,7 +773,8 @@ Mercator, Mollweide, Peters, polyconic, orthographic and rectangular.")
        ("goocanvas" ,goocanvas)
        ("gtk+" ,gtk+)))
     (arguments
-     `(#:phases
+     `(#:configure-flags '("CFLAGS=-fcommon")
+       #:phases
        (modify-phases %standard-phases
          (add-after 'unpack 'fix-tests
            (lambda _