Subject: [PATCH] gnu: btar: Fix build.

From: [email-masked]
Date: Sun, 27 Aug 2023 20:11:48 +0800

From: 宋文武 <[email-masked]>

* 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