mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-07-16 04:17:25 +00:00
librav1e: make nasm dependency x86-specific
nasm is an x86 assembler, so only depend on it (and work around the build paths errors) on x86-64 (the assembler fastpaths are explicitly 64-bit only). Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
This commit is contained in:
@@ -7,9 +7,10 @@ inherit cargo_c pkgconfig cargo-update-recipe-crates
|
|||||||
|
|
||||||
require ${PN}-crates.inc
|
require ${PN}-crates.inc
|
||||||
|
|
||||||
DEPENDS += "nasm-native"
|
DEPENDS:append:x86_64 = " nasm-native"
|
||||||
|
|
||||||
SRC_URI += "git://github.com/xiph/rav1e.git;protocol=https;nobranch=1;tag=${PV}"
|
SRC_URI += "git://github.com/xiph/rav1e.git;protocol=https;nobranch=1;tag=${PV}"
|
||||||
SRCREV = "a2f01b3e233f531c28a20b4c29fb5c9e5d29fa6d"
|
SRCREV = "a2f01b3e233f531c28a20b4c29fb5c9e5d29fa6d"
|
||||||
|
|
||||||
INHIBIT_PACKAGE_DEBUG_SPLIT = "1"
|
# TODO we need to pass -fdebug-prefix-map to the nasm calls
|
||||||
|
INHIBIT_PACKAGE_DEBUG_SPLIT:x86-64 = "1"
|
||||||
|
|||||||
Reference in New Issue
Block a user