[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
07/11: gnu: altermime: Cross-compile.
From: |
guix-commits |
Subject: |
07/11: gnu: altermime: Cross-compile. |
Date: |
Fri, 14 Jul 2023 08:19:21 -0400 (EDT) |
nckx pushed a commit to branch master
in repository guix.
commit 57995527394a04abc48bf89b9678cc35a9836662
Author: Tobias Geerinckx-Rice <me@tobias.gr>
AuthorDate: Sun Jul 9 02:00:01 2023 +0200
gnu: altermime: Cross-compile.
* gnu/packages/mail.scm (altermime)[arguments]: Use CC-FOR-TARGET.
Add a new 'do-not-strip phase.
---
gnu/packages/mail.scm | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/mail.scm b/gnu/packages/mail.scm
index c72e99dc0d..8728b11b3a 100644
--- a/gnu/packages/mail.scm
+++ b/gnu/packages/mail.scm
@@ -839,7 +839,7 @@ Extension (MIME).")
(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 @@ Extension (MIME).")
(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
- branch master updated (5f7c714c63 -> 67fb8efdf7), guix-commits, 2023/07/14
- 01/11: gnu: borg: Update to 1.2.4., guix-commits, 2023/07/14
- 02/11: gnu: aiger: Use HTTPS source & home page., guix-commits, 2023/07/14
- 05/11: gnu: altermime: Download over HTTPS., guix-commits, 2023/07/14
- 10/11: gnu: antiword: Use Web Archive URLs., guix-commits, 2023/07/14
- 04/11: gnu: alpine: Download over HTTPS., guix-commits, 2023/07/14
- 06/11: gnu: altermime: Use G-expressions., guix-commits, 2023/07/14
- 11/11: gnu: ghostscript: Fix CVE-2023-36664., guix-commits, 2023/07/14
- 03/11: download: Remove obsolete Savannah subdirectory., guix-commits, 2023/07/14
- 07/11: gnu: altermime: Cross-compile.,
guix-commits <=
- 09/11: gnu: anthy: Mark up description., guix-commits, 2023/07/14
- 08/11: gnu: anthy: Add source mirror URL., guix-commits, 2023/07/14