tc-export_build_env: handle non-cross compile case
authorRaul E Rangel <rrangel@chromium.org>
Tue, 1 May 2018 18:40:30 +0000 (12:40 -0600)
committerMike Gilbert <floppym@gentoo.org>
Sat, 5 May 2018 20:15:55 +0000 (16:15 -0400)
commit2dd9b21e7b9003c1dd6e7e71578449d01302d610
tree9786799348e9e9ac531833249a788f4c0350a42b
parent3391e6b07d5fb349c45ea637f19765cbada8cd98
tc-export_build_env: handle non-cross compile case

By handling the non-cross compiler case the meson.eclass can be
simplified to `tc-env_build "$@" || die`.

See https://bugs.gentoo.org/654424

Change-Id: I1a90da46366c490abbf7d5660bf90482c7f22747
Signed-off-by: Raul E Rangel <rrangel@chromium.org>
Closes: https://bugs.gentoo.org/654424
eclass/toolchain-funcs.eclass