Skip to content

build: Fix randomly missing -I entries#36

Merged
chrysn merged 1 commit intomainfrom
fix-include-missing-in-first-entry
Nov 24, 2023
Merged

build: Fix randomly missing -I entries#36
chrysn merged 1 commit intomainfrom
fix-include-missing-in-first-entry

Conversation

@chrysn
Copy link
Copy Markdown
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
@chrysn
Copy link
Copy Markdown
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