me
/
guix
Archived
1
0
Fork 0

gnu: zig: Build against a baseline CPU.

* gnu/packages/zig.scm (zig-0.10)[#:configure-flags]: Add
“-DZIG_TARGET_MCPU=baseline”.

Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
master
Ekaitz Zarraga 2023-03-10 22:52:19 +01:00 committed by Liliana Marie Prikler
parent 34fed18169
commit d59eb81b5c
No known key found for this signature in database
GPG Key ID: 442A84B8C70E2F87
1 changed files with 1 additions and 0 deletions

View File

@ -56,6 +56,7 @@
'(string-append "-DZIG_TARGET_TRIPLE="
(%current-target-system))
'())
(string-append "-DZIG_TARGET_MCPU=baseline")
(string-append "-DZIG_LIB_DIR=" (assoc-ref %outputs "out")
"/lib/zig"))
#:validate-runpath? #f ; TODO: zig binary can't find ld-linux.