Skip to content
File

Blob: patches/v8/0019-Remove-unneded-latomic-linker-flag.patch

854 bytes
1From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
2From: Erik Corry <erikcorry@chromium.org>
3Date: Mon, 7 Apr 2025 12:32:30 +0200
4Subject: Remove unneded -latomic linker flag
5 
6Signed-off-by: James M Snell <jsnell@cloudflare.com>
7 
8diff --git a/bazel/defs.bzl b/bazel/defs.bzl
9index d86fc1b7ac9dd9151e7e7202876c4953b1c38ea7..0dbc6def7bb39d392c7178d3191972ebf4ec471d 100644
10--- a/bazel/defs.bzl
11+++ b/bazel/defs.bzl
12@@ -211,7 +211,7 @@ def _default_args():
13 "Shell32.lib",
14 ],
15 "@v8//bazel/config:is_macos": ["-pthread"],
16- "//conditions:default": ["-Wl,--no-as-needed -ldl -latomic -pthread"],
17+ "//conditions:default": ["-Wl,--no-as-needed -ldl -pthread"],
18 }) + select({
19 ":should_add_rdynamic": ["-rdynamic"],
20 "//conditions:default": [],