guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#65564] [PATCH] gnu: btar: Fix build.


From: iyzsong
Subject: [bug#65564] [PATCH] gnu: btar: Fix build.
Date: Sun, 27 Aug 2023 20:11:48 +0800

From: 宋文武 <iyzsong@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






reply via email to

[Prev in Thread] Current Thread [Next in Thread]