Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Split cgo options by language #180

Open
jayconrod opened this issue Apr 12, 2018 · 0 comments
Open

Split cgo options by language #180

jayconrod opened this issue Apr 12, 2018 · 0 comments

Comments

@jayconrod
Copy link
Contributor

Currently, Gazelle reads #cgo directives for CPPFLAGS, CFLAGS, and CXXFLAGS, then writes all flags into a combined copts attribute.

When bazel-contrib/rules_go#1366 lands, copts will only contain C-specific flags (equivalent to CFLAGS). Other flags should be passed through new cppopts and cxxopts attributes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant