1 |
commit: 0eb971fac5b428f9ce55f2a8163b723ce7617b4b |
2 |
Author: Mike Gilbert <floppym <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon May 28 16:22:14 2018 +0000 |
4 |
Commit: Mike Gilbert <floppym <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon May 28 16:23:49 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0eb971fa |
7 |
|
8 |
meson.eclass: use _meson_env_array for ar, c, cpp, strip |
9 |
|
10 |
eclass/meson.eclass | 8 ++++---- |
11 |
1 file changed, 4 insertions(+), 4 deletions(-) |
12 |
|
13 |
diff --git a/eclass/meson.eclass b/eclass/meson.eclass |
14 |
index 06e76092a6b..987c11dd7bb 100644 |
15 |
--- a/eclass/meson.eclass |
16 |
+++ b/eclass/meson.eclass |
17 |
@@ -159,11 +159,11 @@ _meson_create_cross_file() { |
18 |
|
19 |
cat > "${T}/meson.${CHOST}" <<-EOF |
20 |
[binaries] |
21 |
- ar = '$(tc-getAR)' |
22 |
- c = '$(tc-getCC)' |
23 |
- cpp = '$(tc-getCXX)' |
24 |
+ ar = $(_meson_env_array "$(tc-getAR)") |
25 |
+ c = $(_meson_env_array "$(tc-getCC)") |
26 |
+ cpp = $(_meson_env_array "$(tc-getCXX)") |
27 |
pkgconfig = '$(tc-getPKG_CONFIG)' |
28 |
- strip = '$(tc-getSTRIP)' |
29 |
+ strip = $(_meson_env_array "$(tc-getSTRIP)") |
30 |
|
31 |
[properties] |
32 |
c_args = $(_meson_env_array "${CFLAGS} ${CPPFLAGS}") |