diff options
author | Ekaitz Zarraga <ekaitz@elenq.tech> | 2023-03-10 22:52:19 +0100 |
---|---|---|
committer | Liliana Marie Prikler <liliana.prikler@gmail.com> | 2023-03-19 09:25:36 +0100 |
commit | d59eb81b5c97aa53cdca357287332377c288fd8c (patch) | |
tree | f139d650699ba1142a0effb459f9af5f61989b58 /gnu/packages | |
parent | 34fed18169a5eae3169ff5fd2c43fe3af79e3b70 (diff) | |
download | guix-d59eb81b5c97aa53cdca357287332377c288fd8c.tar.gz |
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>
Diffstat (limited to 'gnu/packages')
-rw-r--r-- | gnu/packages/zig.scm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gnu/packages/zig.scm b/gnu/packages/zig.scm index 5414b5ba6e..2c89343cb1 100644 --- a/gnu/packages/zig.scm +++ b/gnu/packages/zig.scm @@ -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. |