gnu: exim: Prepare for cross-compilation.
* gnu/packages/mail.scm (exim)[arguments]: Use CC-FOR-TARGET.master
parent
db686f0b34
commit
6e488fb069
|
@ -1821,7 +1821,7 @@ delivery.")
|
||||||
("perl" ,perl)
|
("perl" ,perl)
|
||||||
("pkg-config" ,pkg-config)))
|
("pkg-config" ,pkg-config)))
|
||||||
(arguments
|
(arguments
|
||||||
'(#:phases
|
`(#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
(replace 'configure
|
(replace 'configure
|
||||||
;; We'd use #:make-flags but the top-level Makefile calls others
|
;; We'd use #:make-flags but the top-level Makefile calls others
|
||||||
|
@ -1883,7 +1883,7 @@ delivery.")
|
||||||
(substitute* "src/version.c"
|
(substitute* "src/version.c"
|
||||||
(("#include \"cnumber.h\"") "1")))))
|
(("#include \"cnumber.h\"") "1")))))
|
||||||
#:make-flags
|
#:make-flags
|
||||||
(list "CC=gcc"
|
(list (string-append "CC=" ,(cc-for-target))
|
||||||
"INSTALL_ARG=-no_chown")
|
"INSTALL_ARG=-no_chown")
|
||||||
;; No 'check' target. There is a test suite in test/, which assumes that
|
;; No 'check' target. There is a test suite in test/, which assumes that
|
||||||
;; certain build options were (not) used and that it can freely ‘sudo’.
|
;; certain build options were (not) used and that it can freely ‘sudo’.
|
||||||
|
|
Reference in New Issue