Skip to content

Add imacros to absolutized cgo env list#4325

Merged
fmeum merged 1 commit intobazel-contrib:masterfrom
LaurenceTews:master
Apr 22, 2025
Merged

Add imacros to absolutized cgo env list#4325
fmeum merged 1 commit intobazel-contrib:masterfrom
LaurenceTews:master

Conversation

@LaurenceTews
Copy link
Copy Markdown
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
@renovate renovate Bot mentioned this pull request Aug 11, 2025
1 task
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