mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 15:36:20 -05:00
gnu: altermime: Cross-compile.
* gnu/packages/mail.scm (altermime)[arguments]: Use CC-FOR-TARGET. Add a new 'do-not-strip phase.
This commit is contained in:
parent
bce8c88f42
commit
5799552739
1 changed files with 6 additions and 2 deletions
|
@ -839,7 +839,7 @@ (define-public altermime
|
|||
(arguments
|
||||
(list
|
||||
#:make-flags
|
||||
#~(list "CC=gcc"
|
||||
#~(list (string-append "CC=" #$(cc-for-target))
|
||||
(string-append "PREFIX=" #$output))
|
||||
#:tests? #f ; there are none
|
||||
#:phases
|
||||
|
@ -866,7 +866,11 @@ (define-public altermime
|
|||
(add-after 'unpack 'disable-Werror
|
||||
(lambda _
|
||||
(substitute* "Makefile"
|
||||
(("-Werror") "")))))))
|
||||
(("-Werror") ""))))
|
||||
(add-after 'unpack 'do-not-strip
|
||||
(lambda _
|
||||
(substitute* "Makefile"
|
||||
(("\\bstrip\\b") "true")))))))
|
||||
(home-page "https://pldaniels.com/altermime/")
|
||||
(synopsis "Modify MIME-encoded messages")
|
||||
(description
|
||||
|
|
Loading…
Reference in a new issue