Skip to content

Commit

Permalink
Add objc_compile to compile_actions
Browse files Browse the repository at this point in the history
The majority of the time objc_compile is identical to C/C++ compiles.
Because of this I think by default all of those flags should apply here.
This is a bit funny since the current builtin toolchain doesn't support
Objective-C at all and that's only in the apple_support toolchain, but
new toolchains using these rules may want to support this.

Without this things like `--objccopt` just don't work out of the box.
  • Loading branch information
keith committed Sep 24, 2024
1 parent 848d56a commit 2614ae4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cc/toolchains/actions/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,7 @@ cc_action_type_set(
":cpp_compile_actions",
":c_compile_actions",
":assembly_actions",
":objc_compile",
],
)

Expand Down

0 comments on commit 2614ae4

Please sign in to comment.