summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorTobias Geerinckx-Rice <me@tobias.gr>2022-12-11 01:00:01 +0100
committerTobias Geerinckx-Rice <me@tobias.gr>2022-12-11 01:00:04 +0100
commita4e98faa1e852c0e25bddd915a7dd8c8bed26a04 (patch)
treeb1f79d4a66956e104a6ce5073920644d05aa4b1a /gnu
parent56a0cb50e1e89b27c441e3287436d6ab49011c11 (diff)
gnu: ncdu2: Do not use the illegal instructions.
* gnu/packages/ncdu.scm (ncdu-2)[arguments]: Compile for a baseline CPU.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/ncdu.scm4
1 files changed, 3 insertions, 1 deletions
diff --git a/gnu/packages/ncdu.scm b/gnu/packages/ncdu.scm
index a623cd5373..6f541878fc 100644
--- a/gnu/packages/ncdu.scm
+++ b/gnu/packages/ncdu.scm
@@ -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.