diff mbox series

[2/3] package/meson: use specific BR variables for cross-compilation.conf

Message ID 20200915094625.598048-2-nolange79@gmail.com
State Superseded
Headers show
Series [1/3] package/pkg-meson.mk: fix generation of pkg_config_static prop | expand

Commit Message

Norbert Lange Sept. 15, 2020, 9:46 a.m. UTC
dont depend on specific names of compiler tools, but use existing
Buildroot variables.

Signed-off-by: Norbert Lange <nolange79@gmail.com>
---
 package/meson/cross-compilation.conf.in | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)
diff mbox series

Patch

diff --git a/package/meson/cross-compilation.conf.in b/package/meson/cross-compilation.conf.in
index e9344e2b2f..67c5da8156 100644
--- a/package/meson/cross-compilation.conf.in
+++ b/package/meson/cross-compilation.conf.in
@@ -4,11 +4,11 @@ 
 # - Buildroot's 'target' is Meson's 'host'
 
 [binaries]
-c = '@TARGET_CROSS@gcc'
-cpp = '@TARGET_CROSS@g++'
-ar = '@TARGET_CROSS@ar'
-strip = '@TARGET_CROSS@strip'
-pkgconfig = '@HOST_DIR@/bin/pkgconf'
+c = '@TARGET_CC@'
+cpp = '@TARGET_CXX@'
+ar = '@TARGET_AR@'
+strip = '@TARGET_STRIP@'
+pkgconfig = '@PKG_CONFIG_HOST_BINARY@'
 g-ir-compiler = '@STAGING_DIR@/usr/bin/g-ir-compiler'
 g-ir-scanner = '@STAGING_DIR@/usr/bin/g-ir-scanner'