mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: Use 'cc-for-target' instead of custom implementations.
* gnu/packages/compression.scm (ecm)[arguments]: In #:make-flags, remove TARGET binding and use CC-FOR-TARGET instead. * gnu/packages/linux.scm (powerstat, crda, cachefilesd)[arguments]: Likewise. * gnu/packages/mail.scm (alpine)[arguments]: Likewise. * gnu/packages/music.scm (lsp-plugins)[arguments]: Likewise. * gnu/packages/radio.scm (dump1090)[arguments]: Likewise. * gnu/packages/suckless.scm (blind, dmenu, spoon, slock, st, surf, sent, wificurse, sbm, prout, noice, human, fortify-headers, colors, libutf, scron)[arguments]: Likewise.
This commit is contained in:
parent
fb9a57a8e6
commit
1ca44ae34c
6 changed files with 52 additions and 129 deletions
|
@ -2207,11 +2207,8 @@ computations.")
|
|||
(arguments
|
||||
`(#:tests? #f ; no check target
|
||||
#:make-flags
|
||||
(let ((target ,(%current-target-system)))
|
||||
(list (string-append "CC=" (if target
|
||||
(string-append target "-gcc")
|
||||
"gcc"))
|
||||
(string-append "DESTDIR=" (assoc-ref %outputs "out"))))
|
||||
(list (string-append "CC=" ,(cc-for-target))
|
||||
(string-append "DESTDIR=" (assoc-ref %outputs "out")))
|
||||
#:phases
|
||||
(modify-phases %standard-phases
|
||||
(replace 'configure
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue