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

commit 9055b93513f93293890154790928bb9675770cfe
Author: Guillaume Le Vaillant <[email protected]>
AuthorDate: Tue Aug 31 15:25:22 2021 +0200

    gnu: f2fs-tools: Fix building with gcc-10.
    
    * gnu/packages/linux.scm (f2fs-tools-1.7)[arguments]: Pass '-fcommon' to
      CFLAGS.
---
 gnu/packages/linux.scm | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index 1f52bcc..63f0e41 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -54,6 +54,7 @@
 ;;; Copyright © 2021 B. Wilson <[email protected]>
 ;;; Copyright © 2021 Ivan Gankevich <[email protected]>
 ;;; Copyright © 2021 Maxime Devos <[email protected]>
+;;; Copyright © 2021 Guillaume Le Vaillant <[email protected]>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -5497,7 +5498,8 @@ obviously it can be shared with files outside our set).")
 
     (build-system gnu-build-system)
     (arguments
-     `(#:phases
+     `(#:configure-flags '("CFLAGS=-fcommon")
+       #:phases
        (modify-phases %standard-phases
          (add-after 'install 'install-headers
            (lambda* (#:key outputs #:allow-other-keys)

Reply via email to