gnu: opencpn: Fix building with gcc 10.

* gnu/packages/geo.scm (opencpn)[arguments]: Pass '-fcommon' to CFLAGS.
This commit is contained in:
Guillaume Le Vaillant 2021-09-05 11:48:59 +02:00
parent 48bd27863f
commit 79edda3874
No known key found for this signature in database
GPG key ID: 6BE8208ADF21FE3F

View file

@ -1885,7 +1885,8 @@ (define-public opencpn
`(#:configure-flags '("-DENABLE_PORTAUDIO=ON"
"-DENABLE_SNDFILE=ON"
"-DBUNDLE_TCDATA=ON"
"-DBUNDLE_GSHHS=CRUDE")
"-DBUNDLE_GSHHS=CRUDE"
"-DCMAKE_C_FLAGS=-fcommon")
#:tests? #f ; No tests defined
#:phases
(modify-phases %standard-phases