gnu: gnuais: Fix building with gcc-10.

* gnu/packages/radio.scm (gnuais)[arguments]: Pass '-fcommon' to CFLAGS.
This commit is contained in:
Guillaume Le Vaillant 2021-08-27 09:22:08 +02:00
parent c36b0cae82
commit afe8ecdcc0
No known key found for this signature in database
GPG key ID: 6BE8208ADF21FE3F

View file

@ -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