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

[DRAFT] Use CFLAGS for include dirs #405

Closed
wants to merge 1 commit into from

Conversation

justsmth
Copy link
Contributor

Issues

See: rust-lang/cc-rs#1043

Description of changes:

  • cc utilizes the CFLAGS environment variable to obtain compiler arguments. The include directories specified in CFLAGS come before and take precedence over the include directories specified by our project.

Call-outs:

  • If this issue is corrected upstream in cc-rs, the CFLAGS initialization in this PR is not needed, but it should not cause problems with the build.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license and the ISC license.

@justsmth justsmth requested a review from a team as a code owner April 23, 2024 16:27
@justsmth justsmth marked this pull request as draft April 26, 2024 12:45
@justsmth
Copy link
Contributor Author

My upstream PR to address this was merged. I would expect this fix to appear in the next (1.0.96?) release of cc.

I'll leave this PR in draft until the upstream fix is released.

@justsmth justsmth changed the title Use CFLAGS for include dirs [DRAFT] Use CFLAGS for include dirs Apr 26, 2024
@justsmth justsmth closed this May 1, 2024
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

Successfully merging this pull request may close these issues.

None yet

2 participants