GNU bug report logs - #65564
[PATCH] gnu: btar: Fix build.

Previous Next

Package: guix-patches;

Reported by: iyzsong <at> envs.net

Date: Sun, 27 Aug 2023 12:13:01 UTC

Severity: normal

Tags: patch

Done: 宋文武 <iyzsong <at> envs.net>

Bug is archived. No further changes may be made.

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: iyzsong <at> envs.net
To: guix-patches <at> gnu.org
Cc: 宋文武 <iyzsong <at> member.fsf.org>
Subject: [PATCH] gnu: btar: Fix build.
Date: Sun, 27 Aug 2023 20:11:48 +0800
From: 宋文武 <iyzsong <at> member.fsf.org>

* gnu/packages/backup.scm (btar)[arguments]: Add CFLAGS=-fcommon to
make-flags.
---
 gnu/packages/backup.scm | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/backup.scm b/gnu/packages/backup.scm
index 6961d9358c..bd5e2e463f 100644
--- a/gnu/packages/backup.scm
+++ b/gnu/packages/backup.scm
@@ -461,7 +461,8 @@ (define-public btar
     (inputs
      (list librsync-0.9))
     (arguments
-     `(#:make-flags `(,(string-append "PREFIX=" (assoc-ref %outputs "out"))
+     `(#:make-flags `("CFLAGS=-fcommon"
+                      ,(string-append "PREFIX=" (assoc-ref %outputs "out"))
                       ,(string-append "CC=" ,(cc-for-target)))
        #:tests? #f                      ;test input not distributed
        #:phases

base-commit: 8b4a248fc4765212a4103c4520ae1f901937df41
-- 
2.41.0





This bug report was last modified 1 year and 265 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.