mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-25 22:08:16 -05:00
gnu: libcyaml: Clean up arguments.
* gnu/packages/serialization.scm (libcyaml)[arguments]: Use #:test-target rather than a custom 'check phase. Use CC-FOR-TARGET.
This commit is contained in:
parent
f33fd4372a
commit
3d69f2dae8
1 changed files with 4 additions and 7 deletions
|
@ -367,16 +367,13 @@ (define-public libcyaml
|
|||
(base32 "0gvf3h8r8300wdwfjgxw3nzlj7w14q63m67p8wdm5fvpha017n4y"))))
|
||||
(build-system gnu-build-system)
|
||||
(arguments
|
||||
`(#:make-flags
|
||||
`(#:test-target "test"
|
||||
#:make-flags
|
||||
(list (string-append "PREFIX=" (assoc-ref %outputs "out"))
|
||||
(string-append "CC=gcc"))
|
||||
(string-append "CC=" ,(cc-for-target)))
|
||||
#:phases
|
||||
(modify-phases %standard-phases
|
||||
(delete 'configure) ; no configure script
|
||||
(replace 'check
|
||||
(lambda _
|
||||
(setenv "CC" "gcc")
|
||||
(invoke "make" "test"))))))
|
||||
(delete 'configure)))) ; no configure script
|
||||
(inputs
|
||||
(list libyaml))
|
||||
(native-inputs
|
||||
|
|
Loading…
Reference in a new issue