From afe8ecdcc059238fe91d0dca593367c6f078f9d2 Mon Sep 17 00:00:00 2001 From: Guillaume Le Vaillant Date: Fri, 27 Aug 2021 09:22:08 +0200 Subject: [PATCH] gnu: gnuais: Fix building with gcc-10. * gnu/packages/radio.scm (gnuais)[arguments]: Pass '-fcommon' to CFLAGS. --- gnu/packages/radio.scm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gnu/packages/radio.scm b/gnu/packages/radio.scm index f1f06828e9..32dc0f8aca 100644 --- a/gnu/packages/radio.scm +++ b/gnu/packages/radio.scm @@ -1684,7 +1684,8 @@ (define-public gnuais ("osm-gps-map" ,osm-gps-map) ("pulseaudio" ,pulseaudio))) (arguments - `(#:tests? #f ; No test suite + `(#:configure-flags '("-DCMAKE_C_FLAGS=-fcommon") + #:tests? #f ; No test suite #:phases (modify-phases %standard-phases (add-after 'unpack 'fix-paths