summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorGuillaume Le Vaillant <glv@posteo.net>2021-08-27 09:22:08 +0200
committerGuillaume Le Vaillant <glv@posteo.net>2021-08-27 09:22:08 +0200
commitafe8ecdcc059238fe91d0dca593367c6f078f9d2 (patch)
treecbcdbb8880c4ccdb5121047cd3e6951423d6bebf /gnu
parentc36b0cae82d22db00304b5cedcc0e91be019addf (diff)
downloadguix-afe8ecdcc059238fe91d0dca593367c6f078f9d2.tar.gz
gnu: gnuais: Fix building with gcc-10.
* gnu/packages/radio.scm (gnuais)[arguments]: Pass '-fcommon' to CFLAGS.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/radio.scm3
1 files changed, 2 insertions, 1 deletions
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 @@ intended for people who want to learn receiving and sending morse code.")
        ("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