aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
author宋文武 <iyzsong@member.fsf.org>2023-08-27 20:11:48 +0800
committer宋文武 <iyzsong@member.fsf.org>2023-08-31 18:01:22 +0800
commit61aa9bb3e355d07c0b31a61bd4091c2d105f0452 (patch)
treee635fc4ffa0bd5169da9b7679d1cf029a304fe1f /gnu
parent436d9487da3dde2fa094e0c08e02749f61876fe7 (diff)
downloadguix-61aa9bb3e355d07c0b31a61bd4091c2d105f0452.tar.gz
guix-61aa9bb3e355d07c0b31a61bd4091c2d105f0452.zip
gnu: btar: Fix build.
* gnu/packages/backup.scm (btar)[arguments]: Add CFLAGS=-fcommon to make-flags.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/backup.scm3
1 files changed, 2 insertions, 1 deletions
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 @@ remain fully idle, saving power and producing less noise.")
(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