Skip to content
Snippets Groups Projects
Unverified Commit 82def415 authored by Keith Smiley's avatar Keith Smiley Committed by GitHub
Browse files

[7.4.0] Add conlyopts and cxxopts attributes to cc rules (#23904)

The inability to pass C or C++ specific compiler flags to targets that
contain a mix of those sources is a common sticking point for new users.
These mirror the global `--conlyopt` and `--cxxopt` flags but at the
target level.

Fixes https://github.com/bazelbuild/bazel/issues/22041

RELNOTES: Add conlyopts and cxxopts attributes to cc rules

Closes #23840

PiperOrigin-RevId: 682144094
Change-Id: I0fe8b728c493652d875ce6a6dd2a9989c36b1f24

(cherry picked from commit 5854788d)
parent e6c313d4
No related merge requests found
Showing with 106 additions and 8 deletions
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment