diff options
author | Marius Bakke <marius@gnu.org> | 2020-05-28 18:57:46 +0200 |
---|---|---|
committer | Marius Bakke <marius@gnu.org> | 2020-05-29 15:41:30 +0200 |
commit | 1ca44ae34cb4324427f232035b00c11dfa712139 (patch) | |
tree | 964497d5d6c047e83a58c21053982318048083bd /gnu/packages/compression.scm | |
parent | fb9a57a8e6a28093f5138a6c484442f8b3a8cd7e (diff) | |
download | guix-1ca44ae34cb4324427f232035b00c11dfa712139.tar.gz |
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.
Diffstat (limited to 'gnu/packages/compression.scm')
-rw-r--r-- | gnu/packages/compression.scm | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/gnu/packages/compression.scm b/gnu/packages/compression.scm index 38adf35e33..cdab7408ed 100644 --- a/gnu/packages/compression.scm +++ b/gnu/packages/compression.scm @@ -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 |