From f91097c509e6f1327715f5dc4e44f914e6bb42ef Mon Sep 17 00:00:00 2001 From: Mathieu Othacehe Date: Fri, 20 Aug 2021 13:40:10 +0200 Subject: gnu: the-silver-searcher: Fix build. * gnu/packages/code.scm (the-silver-searcher)[arguments]: Pass the -fcommon flag that is required since the GCC 10 switch. --- gnu/packages/code.scm | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'gnu') diff --git a/gnu/packages/code.scm b/gnu/packages/code.scm index a414cde3de..d52621dfcb 100644 --- a/gnu/packages/code.scm +++ b/gnu/packages/code.scm @@ -310,6 +310,10 @@ cloc can handle a greater variety of programming languages.") (base32 "0w1icjqd8hd45rn1y6nbfznk1a6ip54whwbfbhxp7ws2hn3ilqnr")))) (build-system gnu-build-system) + (arguments + ;; Required since GCC 10, see: + ;; https://gcc.gnu.org/gcc-10/porting_to.html. + `(#:configure-flags (list "CFLAGS=-fcommon"))) (native-inputs `(("pkg-config" ,pkg-config))) (inputs -- cgit 1.4.1