From a6f9df4c411f85c3430392d939040e9c60261083 Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Sun, 2 Jul 2023 02:00:06 +0200 Subject: [PATCH] gnu: weightwatcher: Fix build. * gnu/packages/astronomy.scm (weightwatcher)[arguments]: Add #:configure-flags to build with GCC 10. Signed-off-by: Tobias Geerinckx-Rice --- 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