Skip to content

Commit af49577

Browse files
Bazel: apply -mwaitpkg only to x86-64 (#1790)
1 parent 4238125 commit af49577

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

BUILD.bazel

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,8 @@ cc_library(
5050
]),
5151
copts = ["-w"] + select({
5252
"@platforms//os:windows": [""],
53-
"@platforms//cpu:arm64": [""],
54-
"//conditions:default": ["-mwaitpkg"],
53+
"@platforms//cpu:x86_64": ["-mwaitpkg"],
54+
"//conditions:default": [""],
5555
}),
5656
defines =
5757
select({

0 commit comments

Comments
 (0)