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

build: Fix randomly missing -I entries #36

Merged
merged 1 commit into from
Nov 24, 2023

Conversation

chrysn
Copy link
Member

@chrysn chrysn commented Nov 24, 2023

The algorithm for building the consensus CFLAGS was flawed in that the special-casing of -I path options only succeeded if the given option was in the first entry of the compile commands list.

While the algorithm can certainly need an overhaul, this is the minimally intrusive fix.

The algorithm for building the consensus CFLAGS was flawed in that the
special-casing of `-I path` options only succeeded if the given option
was in the first entry of the compile commands list.

While the algorithm can certainly need an overhaul, this is the
minimally intrusive fix.
@chrysn chrysn enabled auto-merge November 24, 2023 15:24
@chrysn chrysn merged commit 501b354 into main Nov 24, 2023
3 checks passed
@chrysn
Copy link
Member Author

chrysn commented Nov 24, 2023

... and fixed. Sorry @maribu for not recognizing this for what it was when you first reported it.

[edit: That comment should have gone in #35]

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.

1 participant