guix-commits
[Top][All Lists]
Advanced

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

branch core-updates-frozen updated: gnu: opencpn: Fix building with gcc


From: guix-commits
Subject: branch core-updates-frozen updated: gnu: opencpn: Fix building with gcc 10.
Date: Sun, 05 Sep 2021 05:51:18 -0400

This is an automated email from the git hooks/post-receive script.

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

The following commit(s) were added to refs/heads/core-updates-frozen by this 
push:
     new 79edda3  gnu: opencpn: Fix building with gcc 10.
79edda3 is described below

commit 79edda38742b37603ccd48dd8660ff7fcfca293e
Author: Guillaume Le Vaillant <glv@posteo.net>
AuthorDate: Sun Sep 5 11:48:59 2021 +0200

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

diff --git a/gnu/packages/geo.scm b/gnu/packages/geo.scm
index e2d34f1..0276bf5 100644
--- a/gnu/packages/geo.scm
+++ b/gnu/packages/geo.scm
@@ -1885,7 +1885,8 @@ exchanged form one Spatial DBMS and the other.")
      `(#:configure-flags '("-DENABLE_PORTAUDIO=ON"
                            "-DENABLE_SNDFILE=ON"
                            "-DBUNDLE_TCDATA=ON"
-                           "-DBUNDLE_GSHHS=CRUDE")
+                           "-DBUNDLE_GSHHS=CRUDE"
+                           "-DCMAKE_C_FLAGS=-fcommon")
        #:tests? #f ; No tests defined
        #:phases
        (modify-phases %standard-phases



reply via email to

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