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
parent
34fed18169
commit
d59eb81b5c
|
@ -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.
|
||||
|
|
Reference in New Issue