commit: 0eb971fac5b428f9ce55f2a8163b723ce7617b4b
Author: Mike Gilbert <floppym <AT> gentoo <DOT> org>
AuthorDate: Mon May 28 16:22:14 2018 +0000
Commit: Mike Gilbert <floppym <AT> gentoo <DOT> org>
CommitDate: Mon May 28 16:23:49 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0eb971fa
meson.eclass: use _meson_env_array for ar, c, cpp, strip
eclass/meson.eclass | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/eclass/meson.eclass b/eclass/meson.eclass
index 06e76092a6b..987c11dd7bb 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}")