Skip to content

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