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

p7zip: needs helping hand with cross-compiling #4059

Merged
merged 3 commits into from Dec 28, 2019
Merged

p7zip: needs helping hand with cross-compiling #4059

merged 3 commits into from Dec 28, 2019

Conversation

MilhouseVH
Copy link
Contributor

p7zip has a very basic build system, which has no support for building into a multi-arch directory.

Consequently it drops the host binaries into $PKG_BUILD/bin, and the target binaries are also dropped into the same $PKG_BUILD/bin. However if the host 7za binary is already present when building the target (as it normally would) then 7za is not created for the target and system-tools installs the host binary to the add-on.

This change is hack, based on what we used to do for dosfstools-v3, but allows p7zip to build host and target into arch-specific directories..

I've also added a number of security fixes that other distros have been carrying for some time (copied from Arch).

Thanks @dhewg for bringing this up (although you may need to update #4042 - and related PRs - to take account of these changes, sorry!)

@jernejsk jernejsk merged commit bad823e into LibreELEC:master Dec 28, 2019
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.

None yet

2 participants