From 9055b93513f93293890154790928bb9675770cfe Mon Sep 17 00:00:00 2001 From: Guillaume Le Vaillant Date: Tue, 31 Aug 2021 15:25:22 +0200 Subject: 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 1f52bccee8..63f0e4108c 100644 --- a/gnu/packages/linux.scm +++ b/gnu/packages/linux.scm @@ -54,6 +54,7 @@ ;;; Copyright © 2021 B. Wilson ;;; Copyright © 2021 Ivan Gankevich ;;; Copyright © 2021 Maxime Devos +;;; Copyright © 2021 Guillaume Le Vaillant ;;; ;;; 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) -- cgit v1.2.3