mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 15:36:20 -05:00
gnu: certdata2pem: Fix cross compiling.
* gnu/packages/certs.scm (certdata2pem)[arguments]: Use cc-for-target.
This commit is contained in:
parent
1001baa1e8
commit
11a7bfbc46
1 changed files with 3 additions and 1 deletions
|
@ -25,6 +25,7 @@
|
|||
(define-module (gnu packages certs)
|
||||
#:use-module ((guix licenses) #:prefix license:)
|
||||
#:use-module (guix packages)
|
||||
#:use-module (guix utils)
|
||||
#:use-module (guix download)
|
||||
#:use-module (guix build-system gnu)
|
||||
#:use-module (guix build-system trivial)
|
||||
|
@ -53,7 +54,8 @@ (define certdata2pem
|
|||
(delete 'configure)
|
||||
(replace 'build
|
||||
(lambda _
|
||||
(invoke "gcc" "certdata2pem.c" "-o" "certdata2pem")))
|
||||
(invoke ,(cc-for-target) "certdata2pem.c"
|
||||
"-o" "certdata2pem")))
|
||||
(delete 'check) ;no test suite
|
||||
(replace 'install
|
||||
(lambda* (#:key outputs #:allow-other-keys)
|
||||
|
|
Loading…
Reference in a new issue