guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

branch core-updates-frozen updated: gnu: the-silver-searcher: Fix build.


From: guix-commits
Subject: branch core-updates-frozen updated: gnu: the-silver-searcher: Fix build.
Date: Fri, 20 Aug 2021 07:45:29 -0400

This is an automated email from the git hooks/post-receive script.

mothacehe pushed a commit to branch core-updates-frozen
in repository guix.

The following commit(s) were added to refs/heads/core-updates-frozen by this 
push:
     new f91097c  gnu: the-silver-searcher: Fix build.
f91097c is described below

commit f91097c509e6f1327715f5dc4e44f914e6bb42ef
Author: Mathieu Othacehe <othacehe@gnu.org>
AuthorDate: Fri Aug 20 13:40:10 2021 +0200

    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(+)

diff --git a/gnu/packages/code.scm b/gnu/packages/code.scm
index a414cde3..d52621d 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]