me
/
guix
Archived
1
0
Fork 0

gnu: ncdu2: Do not use the illegal instructions.

* gnu/packages/ncdu.scm (ncdu-2)[arguments]: Compile for a baseline CPU.
master
Tobias Geerinckx-Rice 2022-12-11 01:00:01 +01:00
parent 56a0cb50e1
commit a4e98faa1e
No known key found for this signature in database
GPG Key ID: 0DB0FF884F556D79
1 changed files with 3 additions and 1 deletions

View File

@ -71,7 +71,9 @@ ncurses installed.")
(list
#:make-flags
#~(list (string-append "PREFIX=" #$output)
(string-append "CC=" #$(cc-for-target)))
(string-append "CC=" #$(cc-for-target))
;; XXX By default, zig builds with -march=native!
(string-append "ZIG_FLAGS=-Drelease-fast -Dcpu=baseline"))
#:phases
#~(modify-phases %standard-phases
(delete 'configure) ; No configure script.