From a873b3f013341f1376d6634eab51cba8c40ba6f4 Mon Sep 17 00:00:00 2001 From: Joel Stanley Date: Mon, 2 May 2022 17:59:05 +0930 Subject: [PATCH] meson: Older meson won't concatenate options https://github.com/mesonbuild/meson/issues/3878 Fixes errors such as: ERROR: Malformed value in cross file variable c. Remove the pkg-config cross binary, as distros don't ship that AFAICT. Signed-off-by: Joel Stanley --- meson/arm-linux-gnueabi-gcc.ini | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/meson/arm-linux-gnueabi-gcc.ini b/meson/arm-linux-gnueabi-gcc.ini index 514d187..ca596ea 100644 --- a/meson/arm-linux-gnueabi-gcc.ini +++ b/meson/arm-linux-gnueabi-gcc.ini @@ -4,13 +4,9 @@ cpu_family = 'arm' cpu = 'armv6' endian = 'little' -[constants] -arch = 'arm-linux-gnueabi' - [binaries] -c = arch + '-gcc' -cpp = arch + '-g++' -ld = arch + '-ld' -strip = arch + '-strip' -pkgconfig = arch + '-pkg-config' +c = 'arm-linux-gnueabi-gcc' +cpp = 'arm-linux-gnueabi-g++' +ld = 'arm-linux-gnueabi-ld' +strip = 'arm-linux-gnueabi-strip' exe_wrapper = [ 'qemu-arm', '-L', '/usr/arm-linux-gnueabi' ]