-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
31 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
commit 2b7a01e90d9de4ed3a6c1e114361f80acea15b1b | ||
Author: David Zbarsky <[email protected]> | ||
Date: Fri Oct 4 16:00:55 2024 -0400 | ||
|
||
patch | ||
|
||
diff --git a/utils/bazel/llvm-project-overlay/compiler-rt/BUILD.bazel b/utils/bazel/llvm-project-overlay/compiler-rt/BUILD.bazel | ||
index bba18bfd387a..c075d5fb3770 100644 | ||
--- a/utils/bazel/llvm-project-overlay/compiler-rt/BUILD.bazel | ||
+++ b/utils/bazel/llvm-project-overlay/compiler-rt/BUILD.bazel | ||
@@ -11,14 +11,11 @@ licenses(["notice"]) | ||
|
||
cc_library( | ||
name = "config", | ||
- defines = select({ | ||
- "@platforms//os:linux": [ | ||
- "COMPILER_RT_HAS_ATOMICS=1", | ||
- "COMPILER_RT_HAS_FCNTL_LCK=1", | ||
- "COMPILER_RT_HAS_UNAME=1", | ||
- ], | ||
- # Will raise error unless supported platforms. | ||
- }), | ||
+ defines = [ | ||
+ "COMPILER_RT_HAS_ATOMICS=1", | ||
+ "COMPILER_RT_HAS_FCNTL_LCK=1", | ||
+ "COMPILER_RT_HAS_UNAME=1", | ||
+ ], | ||
) | ||
|
||
WIN32_ONLY_FILES = [ |