Skip to content

Autotools: Remove too basic optimization flag cleanup #15305

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

Closed
wants to merge 1 commit into from

Conversation

petk
Copy link
Member

@petk petk commented Aug 8, 2024

The optimization flags are removed in configure.ac when using --enable-debug. When using --enable-debug-assertions the optimization flags shouldn't ideally be removed and this case never actually happen because the CFLAGS at this point in ZEND_INIT contain all sorts of other flags also, so it's redundant as it never gets executed.

The optimization flags are removed in configure.ac when using
--enable-debug. When using --enable-debug-assertions the optimization
flags shouldn't ideally be removed and this case never actually happen
because the CFLAGS at this point in ZEND_INIT contain all sorts of other
flags also, so it's redundant as it never gets executed.
Copy link
Member

@Girgias Girgias left a comment

Choose a reason for hiding this comment

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

Makes sense, especially as the --enable-debug option actually sets -O0 too

@petk petk closed this in d7a8a04 Aug 9, 2024
@petk petk deleted the patch-m4-zend-2 branch August 9, 2024 11:58
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