summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorMathieu Othacehe <othacehe@gnu.org>2021-08-20 13:40:10 +0200
committerMathieu Othacehe <othacehe@gnu.org>2021-08-20 13:45:10 +0200
commitf91097c509e6f1327715f5dc4e44f914e6bb42ef (patch)
treec546231ae087416729a063df19468a90bdbc8f0a /gnu
parent9de5bded7addae52edc2c1b02cc74d6f94a7b724 (diff)
downloadguix-f91097c509e6f1327715f5dc4e44f914e6bb42ef.tar.gz
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.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/code.scm4
1 files changed, 4 insertions, 0 deletions
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