Skip to content

Conversation

@bobzinin
Copy link

@bobzinin bobzinin commented Dec 1, 2025

The configure script was setting OPT="-O" by default for non-GCC compilers, which could conflict with user-specified CFLAGS. This change removes the automatic default, allowing users full control over optimization flags via CFLAGS without unexpected conflicts.

The configure script was setting OPT="-O" by default for non-GCC
compilers, which could conflict with user-specified CFLAGS. This
change removes the automatic default, allowing users full control
over optimization flags via CFLAGS without unexpected conflicts.
@bedevere-app
Copy link

bedevere-app bot commented Dec 1, 2025

Most changes to Python require a NEWS entry. Add one using the blurb_it web app or the blurb command-line tool.

If this change has little impact on Python users, wait for a maintainer to apply the skip news label instead.

@bobzinin bobzinin changed the title gh-54972: Remove default OPT=-O for non-GCC compilers gh-54872: Remove default OPT=-O for non-GCC compilers Dec 1, 2025
@python-cla-bot
Copy link

python-cla-bot bot commented Dec 1, 2025

All commit authors signed the Contributor License Agreement.

CLA signed

@bedevere-app
Copy link

bedevere-app bot commented Dec 1, 2025

Most changes to Python require a NEWS entry. Add one using the blurb_it web app or the blurb command-line tool.

If this change has little impact on Python users, wait for a maintainer to apply the skip news label instead.

@StanFromIreland
Copy link
Member

You need to run make regen-configure.

@bedevere-app
Copy link

bedevere-app bot commented Dec 1, 2025

Most changes to Python require a NEWS entry. Add one using the blurb_it web app or the blurb command-line tool.

If this change has little impact on Python users, wait for a maintainer to apply the skip news label instead.

@bedevere-app
Copy link

bedevere-app bot commented Dec 1, 2025

Most changes to Python require a NEWS entry. Add one using the blurb_it web app or the blurb command-line tool.

If this change has little impact on Python users, wait for a maintainer to apply the skip news label instead.

@bedevere-app
Copy link

bedevere-app bot commented Dec 2, 2025

Most changes to Python require a NEWS entry. Add one using the blurb_it web app or the blurb command-line tool.

If this change has little impact on Python users, wait for a maintainer to apply the skip news label instead.

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants