nckx pushed a commit to branch master
in repository guix.

commit a6f9df4c411f85c3430392d939040e9c60261083
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Sun Jul 2 02:00:06 2023 +0200

    gnu: weightwatcher: Fix build.
    
    * gnu/packages/astronomy.scm (weightwatcher)[arguments]:
    Add #:configure-flags to build with GCC 10.
    
    Signed-off-by: Tobias Geerinckx-Rice <[email protected]>
---
 gnu/packages/astronomy.scm | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index 7d903cc4aa..b47fa8fe1e 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -712,6 +712,10 @@ header.")
        (sha256
         (base32 "1zaqd8d9rpgcwjsp92q3lkfaa22i20gppb91dz34ym54swisjc2p"))))
     (build-system gnu-build-system)
+    (arguments
+     (list
+      #:configure-flags
+      #~(list "CFLAGS=-fcommon")))      ; fix build with GCC 10
     (home-page "https://www.astromatic.net/software/weightwatcher";)
     (synopsis "Weight-map/flag-map multiplexer and rasteriser")
     (description

Reply via email to