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

extconf.rb: apply RUBY_OPENSSL_EXT{C,LD}FLAGS after checking features #633

Merged
merged 1 commit into from
Jun 6, 2023

Conversation

rhenium
Copy link
Member

@rhenium rhenium commented Jun 1, 2023

RUBY_OPENSSL_EXTCFLAGS and RUBY_OPENSSL_EXTLDFLAGS have been added for the primary purpose of custom warning flags for development and CI.

Since checking programs generated by mkmf may not be completely warning-free, we don't want to apply -Werror that may be supplied from these environment variables.

@junaruga
Copy link
Member

junaruga commented Jun 1, 2023

It looks good to me! Thanks!

RUBY_OPENSSL_EXTCFLAGS and RUBY_OPENSSL_EXTLDFLAGS have been added for
the primary purpose of appending custom warning flags during
development and CI.

Since checking programs generated by mkmf may not be completely
warning-free, we don't want to apply -Werror that may be supplied from
those environment variables.
@rhenium rhenium force-pushed the ky/extconf-append-flags-last branch from 6f8f242 to 2a95b97 Compare June 2, 2023 08:53
@junaruga
Copy link
Member

junaruga commented Jun 2, 2023

Are you ready to merge this PR?

@rhenium rhenium merged commit cdec3c7 into ruby:master Jun 6, 2023
42 checks passed
@rhenium
Copy link
Member Author

rhenium commented Jun 6, 2023

Thanks for the review!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants