mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 15:36:20 -05:00
gnu: openlibm: Fix cross-compiling.
* gnu/packages/maths.scm (openlibm)[arguments]: Add configure-flag to use cc-for-target. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
This commit is contained in:
parent
4709b74bc8
commit
1978d716a9
1 changed files with 2 additions and 1 deletions
|
@ -4198,7 +4198,8 @@ (define-public openlibm
|
|||
(build-system gnu-build-system)
|
||||
(arguments
|
||||
`(#:make-flags
|
||||
(list (string-append "prefix=" (assoc-ref %outputs "out")))
|
||||
(list (string-append "prefix=" (assoc-ref %outputs "out"))
|
||||
,(string-append "CC=" (cc-for-target)))
|
||||
#:phases
|
||||
;; no configure script
|
||||
(modify-phases %standard-phases (delete 'configure))
|
||||
|
|
Loading…
Reference in a new issue