[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
03/04: gnu: f2fs-tools: Fix building with gcc-10.
From: |
guix-commits |
Subject: |
03/04: gnu: f2fs-tools: Fix building with gcc-10. |
Date: |
Tue, 31 Aug 2021 09:35:35 -0400 (EDT) |
glv pushed a commit to branch core-updates-frozen
in repository guix.
commit 9055b93513f93293890154790928bb9675770cfe
Author: Guillaume Le Vaillant <glv@posteo.net>
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 <elaexuotee@wilsonb.com>
;;; Copyright © 2021 Ivan Gankevich <i.gankevich@spbu.ru>
;;; Copyright © 2021 Maxime Devos <maximedevos@telenet.be>
+;;; Copyright © 2021 Guillaume Le Vaillant <glv@posteo.net>
;;;
;;; 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)