Add objc_compile to compile_actions

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.
This commit is contained in:
Keith Smiley 2024-09-24 15:15:10 -07:00
parent 848d56aa29
commit 97cc237a06
No known key found for this signature in database
GPG Key ID: 33BA60D44C7167F8
1 changed files with 2 additions and 0 deletions

View File

@ -210,6 +210,8 @@ cc_action_type_set(
":cpp_compile_actions", ":cpp_compile_actions",
":c_compile_actions", ":c_compile_actions",
":assembly_actions", ":assembly_actions",
":objc_compile",
":objcpp_compile",
], ],
) )