gnu: weightwatcher: Fix build.

* gnu/packages/astronomy.scm (weightwatcher)[arguments]:
Add #:configure-flags to build with GCC 10.

Signed-off-by: Tobias Geerinckx-Rice <me@tobias.gr>
This commit is contained in:
Sharlatan Hellseher 2023-07-02 02:00:06 +02:00 committed by Tobias Geerinckx-Rice
parent 0a645ac606
commit a6f9df4c41
No known key found for this signature in database
GPG key ID: 0DB0FF884F556D79

View file

@ -712,6 +712,10 @@ (define-public weightwatcher
(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