yasm: Set CCLD_FOR_BUILD to ensure BUILD_CC is used

Otherwise cc may be used which isn't correct.

(From OE-Core rev: 30a9f0fcf608815cc920de4aba8ec0d1cf467b07)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Richard Purdie 2017-03-11 10:44:04 +00:00
parent 21db71990b
commit 6df0da0aa1
1 changed files with 2 additions and 0 deletions

View File

@ -9,6 +9,8 @@ SRC_URI = "http://www.tortall.net/projects/yasm/releases/${BP}.tar.gz"
SRC_URI[md5sum] = "fc9e586751ff789b34b1f21d572d96af"
SRC_URI[sha256sum] = "3dce6601b495f5b3d45b59f7d2492a340ee7e84b5beca17e48f862502bd5603f"
export CCLD_FOR_BUILD = "${CC_FOR_BUILD}"
inherit autotools gettext
BBCLASSEXTEND = "native"