diff options
author | Mike Gilbert <floppym@gentoo.org> | 2018-05-28 12:22:14 -0400 |
---|---|---|
committer | Mike Gilbert <floppym@gentoo.org> | 2018-05-28 12:23:49 -0400 |
commit | 0eb971fac5b428f9ce55f2a8163b723ce7617b4b (patch) | |
tree | c942c23c596e823faa1afe66e99da22e17d307f6 /eclass/meson.eclass | |
parent | Revert "meson.eclass: add _meson_move_flags function" (diff) | |
download | gentoo-0eb971fac5b428f9ce55f2a8163b723ce7617b4b.tar.gz gentoo-0eb971fac5b428f9ce55f2a8163b723ce7617b4b.tar.bz2 gentoo-0eb971fac5b428f9ce55f2a8163b723ce7617b4b.zip |
meson.eclass: use _meson_env_array for ar, c, cpp, strip
Diffstat (limited to 'eclass/meson.eclass')
-rw-r--r-- | eclass/meson.eclass | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/eclass/meson.eclass b/eclass/meson.eclass index 06e76092a6b9..987c11dd7bb0 100644 --- a/eclass/meson.eclass +++ b/eclass/meson.eclass @@ -159,11 +159,11 @@ _meson_create_cross_file() { cat > "${T}/meson.${CHOST}" <<-EOF [binaries] - ar = '$(tc-getAR)' - c = '$(tc-getCC)' - cpp = '$(tc-getCXX)' + ar = $(_meson_env_array "$(tc-getAR)") + c = $(_meson_env_array "$(tc-getCC)") + cpp = $(_meson_env_array "$(tc-getCXX)") pkgconfig = '$(tc-getPKG_CONFIG)' - strip = '$(tc-getSTRIP)' + strip = $(_meson_env_array "$(tc-getSTRIP)") [properties] c_args = $(_meson_env_array "${CFLAGS} ${CPPFLAGS}") |