From 79edda38742b37603ccd48dd8660ff7fcfca293e Mon Sep 17 00:00:00 2001 From: Guillaume Le Vaillant Date: Sun, 5 Sep 2021 11:48:59 +0200 Subject: gnu: opencpn: Fix building with gcc 10. * gnu/packages/geo.scm (opencpn)[arguments]: Pass '-fcommon' to CFLAGS. --- gnu/packages/geo.scm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'gnu') diff --git a/gnu/packages/geo.scm b/gnu/packages/geo.scm index e2d34f12a2..0276bf5c16 100644 --- a/gnu/packages/geo.scm +++ b/gnu/packages/geo.scm @@ -1885,7 +1885,8 @@ exchanged form one Spatial DBMS and the other.") `(#: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 -- cgit v1.2.3