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

Make BINDGEN_EXTRA_CLANG_ARGS work with BINDGEN_EXTRA_CLANG_ARGS_<target> #2701

Open
Emilgardis opened this issue Dec 21, 2023 · 0 comments
Open

Comments

@Emilgardis
Copy link
Contributor

Suppose a user has the env var BINDGEN_EXTRA_CLANG_ARGS_<target> set. They now want to add -v to clang, so they'll set BINDGEN_EXTRA_CLANG_ARGS=-v, thinking it'll work, but it wont.

I wonder if it would be possible to make BINDGEN_EXTRA_CLANG_ARGS work in tandem with BINDGEN_EXTRA_CLANG_ARGS_<target>, simply appending BINDGEN_EXTRA_CLANG_ARGS to the end.

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

No branches or pull requests

1 participant