From df897e1dae8fd5b70a1ab9de53a6b1521cf2c417 Mon Sep 17 00:00:00 2001 From: Guillaume Le Vaillant Date: Mon, 4 Oct 2021 16:57:54 +0200 Subject: gnu: gnugo: Fix compiling with gcc 10. * gnu/packages/games.scm (gnugo)[arguments]: Add '-fcommon' to CFLAGS. --- gnu/packages/games.scm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm index e279e1eb71..38f724a726 100644 --- a/gnu/packages/games.scm +++ b/gnu/packages/games.scm @@ -3817,7 +3817,10 @@ either by Infocom or created using the Inform compiler.") (base32 "0wkahvqpzq6lzl5r49a4sd4p52frdmphnqsfdv7gdp24bykdfs6s")))) (build-system gnu-build-system) - (inputs `(("readline" ,readline))) + (inputs + `(("readline" ,readline))) + (arguments + `(#:configure-flags '("CFLAGS=-fcommon"))) (synopsis "Play the game of Go") (description "GNU Go is a program that plays the game of Go, in which players -- cgit v1.2.3