Skip to content
Snippets Groups Projects
Commit 5854788d authored by Keith Smiley's avatar Keith Smiley Committed by Copybara-Service
Browse files

Add conlyopts and cxxopts attributes to cc rules

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 #23792.

PiperOrigin-RevId: 682144094
Change-Id: I0fe8b728c493652d875ce6a6dd2a9989c36b1f24
parent 5c82594a
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