guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

01/02: gnu: gpredict: Fix building with gcc 10.


From: guix-commits
Subject: 01/02: gnu: gpredict: Fix building with gcc 10.
Date: Fri, 10 Sep 2021 03:51:00 -0400 (EDT)

glv pushed a commit to branch core-updates-frozen
in repository guix.

commit bd8013ab33159a41a94f6a6cd023d585c91ae2ed
Author: Guillaume Le Vaillant <glv@posteo.net>
AuthorDate: Fri Sep 10 09:35:51 2021 +0200

    gnu: gpredict: Fix building with gcc 10.
    
    * gnu/packages/astronomy.scm (gpredict)[arguments]: Pass '-fcommon' to 
CFLAGS.
---
 gnu/packages/astronomy.scm | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index a3f7d5c..5d6efc5 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 _



reply via email to

[Prev in Thread] Current Thread [Next in Thread]