gnu: ncdu2: Do not use the illegal instructions.
* gnu/packages/ncdu.scm (ncdu-2)[arguments]: Compile for a baseline CPU.
This commit is contained in:
parent
56a0cb50e1
commit
a4e98faa1e
1 changed files with 3 additions and 1 deletions
|
@ -71,7 +71,9 @@ ncurses installed.")
|
||||||
(list
|
(list
|
||||||
#:make-flags
|
#:make-flags
|
||||||
#~(list (string-append "PREFIX=" #$output)
|
#~(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
|
#:phases
|
||||||
#~(modify-phases %standard-phases
|
#~(modify-phases %standard-phases
|
||||||
(delete 'configure) ; No configure script.
|
(delete 'configure) ; No configure script.
|
||||||
|
|
Reference in a new issue