Skip to content

Commit

Permalink
Disable stack alignment options on iOS
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 721526946
  • Loading branch information
xnnpack-bot committed Jan 30, 2025
1 parent 614491a commit dcfbadd
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
8 changes: 8 additions & 0 deletions build_config/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -363,3 +363,11 @@ selects.config_setting_group(
":clang"
],
)

selects.config_setting_group(
name = "ios_clang",
match_all = [
":ios",
":clang"
],
)
1 change: 1 addition & 0 deletions build_params.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -304,6 +304,7 @@ def _x86_align_stack(alignment):
"-mincoming-stack-boundary=4",
],
"//build_config:fuchsia_clang": [],
"//build_config:ios_clang": [],
"//conditions:default": [],
})

Expand Down

0 comments on commit dcfbadd

Please sign in to comment.