all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: iyzsong--- via Guix-patches via <guix-patches@gnu.org>
To: 65564@debbugs.gnu.org
Cc: 宋文武 <iyzsong@member.fsf.org>
Subject: [bug#65564] [PATCH] gnu: btar: Fix build.
Date: Sun, 27 Aug 2023 20:11:48 +0800	[thread overview]
Message-ID: <3cfc99bcb6ec69dfb2561d77eb43b7f5265c648d.1693138289.git.iyzsong@member.fsf.org> (raw)

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	other threads:[~2023-08-27 12:13 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3cfc99bcb6ec69dfb2561d77eb43b7f5265c648d.1693138289.git.iyzsong@member.fsf.org \
    --to=guix-patches@gnu.org \
    --cc=65564@debbugs.gnu.org \
    --cc=iyzsong@envs.net \
    --cc=iyzsong@member.fsf.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.