[Slackbuilds-users] Meaning of PKGARCH=$(uname -m)_custom in ffmpeg.SlackBuild

Erik Hanson erik at slackbuilds.org
Sat May 21 14:53:41 UTC 2016


On Sat, 21 May 2016 12:18:53 +0200
Andrzej Telszewski <atelszewski at gmail.com> wrote:

> Hi,
> 
> ffmpeg.SlackBuild sets the package arch to $(uname -m)_custom
> Why is that?
> 
> This is somehow in reference to my previous question:
> https://lists.slackbuilds.org/pipermail/slackbuilds-users/2016-March/015772.html
> 
> So, can the ffmpeg package built on one machine be safely used on 
> another machine?

The result is a non-portable package. It's optimized for the CPU it's
been compiled with. If you're working in an environment that consists
of modern hardware, it's probably not too relevant. Consider it a
warning that using a newer/faster machine to build the package and then
installing it on an older/slower machine might mean the binary won't run
as expected.

For your previous question, "non-redistributable binary", that's
different and it was answered here:
https://lists.slackbuilds.org/pipermail/slackbuilds-users/2016-March/015773.html

-- 
Erik


More information about the SlackBuilds-users mailing list