diff options
author | Josselin Poiret <dev@jpoiret.xyz> | 2023-04-22 13:34:56 +0200 |
---|---|---|
committer | Andreas Enge <andreas@enge.fr> | 2023-04-22 13:50:20 +0200 |
commit | 228c9308ffca333e7da842787fb3d7e2b8f51875 (patch) | |
tree | ae86ff2167344ae334e7b78498469113af4dff88 /gnu/local.mk | |
parent | 5569971659ff988c27ea868756e7da935f42dea5 (diff) |
gnu: zig: Fix build.
* gnu/packages/patches/zig-do-not-link-against-librt.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register it.
* gnu/packages/zig.scm (zig-0.10): Use it. Also force LLVM to be dynamically
linked, and set up the CC env variable.
(zig-0.9): Also use the above patch.
Signed-off-by: Andreas Enge <andreas@enge.fr>
Diffstat (limited to 'gnu/local.mk')
-rw-r--r-- | gnu/local.mk | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gnu/local.mk b/gnu/local.mk index 039e157df3..a2b7defe30 100644 --- a/gnu/local.mk +++ b/gnu/local.mk @@ -2058,6 +2058,7 @@ dist_patch_DATA = \ %D%/packages/patches/xterm-370-explicit-xcursor.patch \ %D%/packages/patches/xygrib-fix-finding-data.patch \ %D%/packages/patches/yggdrasil-extra-config.patch \ + %D%/packages/patches/zig-do-not-link-against-librt.patch \ %D%/packages/patches/zig-use-system-paths.patch \ %D%/packages/patches/zsh-egrep-failing-test.patch |