* Update (lib)x264 to 20190324
* Stop using GNU Autotools and use libx264's own
configuration facility
* Drop hardcoded CFLAGS, x264 will handle those fine on its own
This will override toolchain optimizaion and set -O3
irregardless of setting.
* Rework LTO and ASM optmization selection to make it more
compact and readable. This drops optimization for x86 32-bit
which is being deprecated in favour of x86_64 in general and
the very few systems still in use that doesn't support 64-bit
are too slow to be usable anyway.
* Import patches to fix compilation on ARM and x86 (32-bit)
from OpenEmbedded
* Minor style fixes to Makefile
Source: http://cgit.openembedded.org/openembedded-core/tree/meta/recipes-multimedia/x264/x264
Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
Update libx264 to snapshot 20181006
Add 464fp to ASM blacklist (doesn't support AltiVec instructions)
Enable LTO by default for platforms that uses ASM
Remove a few whitespaces (cosmetic)
Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
None of the CPUs supported in OpenWrt/LEDE are MSA capable (requires
MIPS32r5/r6 for that) which would lead to this error during configure:
You specified a pre-MSA CPU in your CFLAGS.
If you really want to run on such a CPU, configure with --disable-asm.
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Introduce blacklist for CPU_TYPEs without ASM support in libx264
Add libpthread dependency required on non-musl builds
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
minor cleanup of CFLAGS, remove COPTS warnings
yasm needs to be added to x86 toolchain
(LEDE updated: c08651226f)
Signed-off-by: Daniel Golle daniel@makrotopia.org
Signed-off-by: Ted Hess <thess@kitschensync.net>