Skip to content

Add imacros to absolutized cgo env list #4325

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

Merged
merged 1 commit into from
Apr 22, 2025

Conversation

LaurenceTews
Copy link
Contributor

@LaurenceTews LaurenceTews commented Apr 22, 2025

What type of PR is this?

Bug fix

What does this PR do? Why is it needed?
This adds the -imacros flag to the set of cgo compiler flags that are transformed to absolute paths. Currently relative path values for -imacros will fail.

Which issues(s) does this PR fix?
No existing issue, just seems to be a missed flag.

Other notes for review
I have been able to successfully test this locally using my existing cc toolchain.

@fmeum fmeum enabled auto-merge (squash) April 22, 2025 05:57
@fmeum fmeum merged commit 38244a1 into bazel-contrib:master Apr 22, 2025
1 check passed
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.

2 participants