Skip to content
This repository has been archived by the owner on Oct 2, 2024. It is now read-only.

fix $CFLAGS duplication that we’ve had since 2019 #1882

Merged
merged 1 commit into from
Mar 27, 2024
Merged

Conversation

reidpr
Copy link
Collaborator

@reidpr reidpr commented Mar 25, 2024

We’ve had duplicate flags in $CC invocations for a long time, I think since the introduction of Autotools in PR 589.

This is because ch_run_CFLAGS is additional flags, which I didn’t realize. This PR removes the duplication.

We also state $CFLAGS in configure and remove an unused variable there.

@reidpr reidpr added this to the 0.38 milestone Mar 25, 2024
@reidpr reidpr self-assigned this Mar 25, 2024
@reidpr reidpr requested a review from lucaudill March 26, 2024 15:30
Copy link
Collaborator

@lucaudill lucaudill left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@reidpr reidpr merged commit fa4cf78 into master Mar 27, 2024
6 checks passed
@reidpr reidpr deleted the duplicate-cflags branch March 27, 2024 19:11
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants