]> code.ossystems Code Review - openembedded-core.git/commit
libjpeg-turbo: don't depend on NASM for non-x86 targets
authorRoss Burton <ross.burton@intel.com>
Mon, 3 Apr 2017 11:57:52 +0000 (12:57 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 5 Apr 2017 11:36:46 +0000 (12:36 +0100)
commit3b1871b7c6df66d3bf3453668f46566b8af3e6d9
tree2086133638721e8ddfd525bdc9c329f4ac28893e
parent4b667d268fe410a21cacaecd1b5e3bfbbe7d53d8
libjpeg-turbo: don't depend on NASM for non-x86 targets

NASM is a x86-specific assembler so it is only required when building for x86
targets.  Use x86-architecture and class-target overrides to depend on NASM, but
explicitly disable and don't depend on it for native as complications in the
native overrides meant NASM was enabled for x86-64 but disabled for x86 (this
will be investigated later).

Original patch by Tristan Van Berkom <tristan.vanberkom@codethink.co.uk>, more
work to solve selftest failures by Richard Purdie
<richard.purdie@linuxfoundation.org>.  I just wrote a nice commit message.

Also fix some missing whitespace in _appends.

[ YOCTO #11240 ]

Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/recipes-graphics/jpeg/libjpeg-turbo_1.5.1.bb