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

Use CFLAGS if set as-is, match CXXFLAGS behavior #322

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

thesamesam
Copy link

Since 2c93711, CXXFLAGS is used as-is if set in the envionment rather than clobbered by whatever CPython happened to be built with.

Do the same for CFLAGS: use it as-is if set in the environment, don't prepend CPython's saved flags.

Fixes: #299

Since 2c93711, CXXFLAGS is used
as-is if set in the envionment rather than clobbered by whatever
CPython happened to be built with.

Do the same for CFLAGS: use it as-is if set in the environment, don't
prepend CPython's saved flags.

Fixes: pypa#299
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.

CXXFLAGS overrides default flags, CFLAGS doesn't
1 participant