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

Fix conditional "strip" based on "ZEND_DEBUG_BUILD" #1280

Closed
wants to merge 1 commit into from

Conversation

mvorisek
Copy link
Contributor

@mvorisek mvorisek commented Mar 26, 2022

strip --strip-all is present on two places, in #1278, it was made conditional for modules, this PR makes it conditional also for the main binaries

@mvorisek mvorisek marked this pull request as ready for review March 26, 2022 15:46
@tianon
Copy link
Member

tianon commented Mar 28, 2022

I'm a bit less convinced on this one -- for this new if to ever not execute, you've already got to be editing the Dockerfile, right?

@mvorisek
Copy link
Contributor Author

Yes, you are correct, I am updating the Dockerfile with sed to add --enable-debug. However, I think this condition is non-intrusive and 1:1 used in #1278.

@enumag
Copy link

enumag commented Apr 4, 2022

How about using this together with my idea? #1287

@mvorisek
Copy link
Contributor Author

Can this PR be merged? If the template is modified or the DockerFile directly, with this PR, the debug build is detected correctly, and as this align the condition introduced in #1278, I belive such unified check is better than any other condition.

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.

None yet

3 participants