gnu: glew: Fix cross-compiling.
gnu/packages/gl.scm(glew): [arguments]<#:make-flags>: when cross-compiling, use {cc,strip}-for-target. Change-Id: I365f6635120a85359083beb88cb138f09a99fe33
This commit is contained in:
parent
5312b63ea0
commit
e2ad70c951
|
@ -690,7 +690,12 @@ (define-public glew
|
||||||
#t))))
|
#t))))
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
(list #:make-flags #~(list (string-append "GLEW_PREFIX=" #$output)
|
(list #:make-flags #~(list #$@(if (%current-target-system)
|
||||||
|
#~((string-append "CC=" #$(cc-for-target))
|
||||||
|
(string-append "LD=" #$(cc-for-target))
|
||||||
|
(string-append "STRIP=" #$(strip-for-target)))
|
||||||
|
#~())
|
||||||
|
(string-append "GLEW_PREFIX=" #$output)
|
||||||
(string-append "GLEW_DEST=" #$output))
|
(string-append "GLEW_DEST=" #$output))
|
||||||
#:phases
|
#:phases
|
||||||
#~(modify-phases %standard-phases
|
#~(modify-phases %standard-phases
|
||||||
|
|
Loading…
Reference in a new issue