summary refs log tree commit diff
path: root/gnu/packages
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/patches/zig-do-not-link-against-librt.patch10
-rw-r--r--gnu/packages/zig.scm6
2 files changed, 2 insertions, 14 deletions
diff --git a/gnu/packages/patches/zig-do-not-link-against-librt.patch b/gnu/packages/patches/zig-do-not-link-against-librt.patch
deleted file mode 100644
index 3239efbdd4..0000000000
--- a/gnu/packages/patches/zig-do-not-link-against-librt.patch
+++ /dev/null
@@ -1,10 +0,0 @@
---- a/src/target.zig	2023-04-22 11:44:47.917416658 +0200
-+++ b/src/target.zig	2023-04-22 11:45:04.577465352 +0200
-@@ -478,7 +478,6 @@
-                 "-lpthread",
-                 "-lc",
-                 "-ldl",
--                "-lrt",
-                 "-lutil",
-             },
-         },
diff --git a/gnu/packages/zig.scm b/gnu/packages/zig.scm
index 6e399dfce3..6994d48818 100644
--- a/gnu/packages/zig.scm
+++ b/gnu/packages/zig.scm
@@ -45,8 +45,7 @@
        (sha256
         (base32 "0nfvgg23sw50ksy0z0ml6lkdsvmd0278mq29m23dbb2jsirkhry7"))
        (patches (search-patches "zig-0.9-riscv-support.patch"
-                                "zig-use-system-paths.patch"
-                                "zig-do-not-link-against-librt.patch"))))
+                                "zig-use-system-paths.patch"))))
     (build-system cmake-build-system)
     (arguments
      (list
@@ -148,8 +147,7 @@ toolchain.  Among other features it provides
        (file-name (git-file-name name version))
        (sha256
         (base32 "1sh5xjsksl52i4cfv1qj36sz5h0ln7cq4pdhgs3960mk8a90im7b"))
-       (patches (search-patches "zig-do-not-link-against-librt.patch"
-                                "zig-use-baseline-cpu-by-default.patch"))))
+       (patches (search-patches "zig-use-baseline-cpu-by-default.patch"))))
     (arguments
      (substitute-keyword-arguments (package-arguments zig-0.9)
        ((#:configure-flags flags ''())