mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-28 14:01:29 -05:00
gnu: ne: Cross-compile.
* gnu/packages/text-editors.scm (ne)[arguments]: Use CC-FOR-TARGET and don't strip binaries.
This commit is contained in:
parent
e02a49e11d
commit
64a5cafb55
1 changed files with 2 additions and 1 deletions
|
@ -1136,7 +1136,8 @@ (define-public ne
|
||||||
(arguments
|
(arguments
|
||||||
`(#:tests? #f
|
`(#:tests? #f
|
||||||
#:make-flags
|
#:make-flags
|
||||||
(list "CC=gcc"
|
(list "STRIP=true" ; don't
|
||||||
|
(string-append "CC=" ,(cc-for-target))
|
||||||
(string-append "PREFIX=" (assoc-ref %outputs "out"))
|
(string-append "PREFIX=" (assoc-ref %outputs "out"))
|
||||||
(string-append "LDFLAGS=-L" (assoc-ref %build-inputs "ncurses")
|
(string-append "LDFLAGS=-L" (assoc-ref %build-inputs "ncurses")
|
||||||
"/lib"))
|
"/lib"))
|
||||||
|
|
Loading…
Reference in a new issue