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: skip stripping when making RPM for different architecture #325

Merged
merged 2 commits into from
Jan 12, 2023

Conversation

dsanders11
Copy link
Member

By default the host's /usr/bin/strip is used, which won't work when executables being stripped are for a different architecture.

By default the host's `/usr/bin/strip` is used, which won't
work when executables being stripped are for a different
architecture
@dsanders11 dsanders11 marked this pull request as draft January 12, 2023 04:41
@dsanders11
Copy link
Member Author

I think a better long-term fix to this issue would be to add logic similar to this logic in electron/script/strip-binaries.py which selects the architecture-specific strip binary, and uses it if it's available, otherwise do no stripping. That would allow setups to do stripping in all cases with some additional setup.

@dsanders11 dsanders11 marked this pull request as ready for review January 12, 2023 04:56
@erickzhao erickzhao merged commit 168bbed into electron-userland:main Jan 12, 2023
@dsanders11 dsanders11 deleted the patch-1 branch January 12, 2023 23:57
@dsanders11 dsanders11 mentioned this pull request Feb 28, 2023
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.

2 participants