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:
Tobias Geerinckx-Rice 2022-10-16 02:00:01 +02:00
parent e02a49e11d
commit 64a5cafb55
No known key found for this signature in database
GPG key ID: 0DB0FF884F556D79

View file

@ -1136,7 +1136,8 @@ (define-public ne
(arguments
`(#:tests? #f
#: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 "LDFLAGS=-L" (assoc-ref %build-inputs "ncurses")
"/lib"))