Skip to content

Commit

Permalink
meson: Older meson won't concatenate options
Browse files Browse the repository at this point in the history
mesonbuild/meson#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 <[email protected]>
  • Loading branch information
shenki committed May 2, 2022
1 parent d610d0a commit b6cb2b5
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 24 deletions.
12 changes: 4 additions & 8 deletions meson/arm-buildroot-linux-gnueabi-gcc.ini
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,9 @@ cpu_family = 'arm'
cpu = 'armv6'
endian = 'little'

[constants]
arch = 'arm-buildroot-linux-gnueabi'

[binaries]
c = arch + '-gcc'
cpp = arch + '-g++'
ld = arch + '-ld'
strip = arch + '-strip'
pkgconfig = arch + '-pkg-config'
c = 'arm-buildroot-linux-gnueabi-gcc'
cpp = 'arm-buildroot-linux-gnueabi-g++'
ld = 'arm-buildroot-linux-gnueabi-ld'
strip = 'arm-buildroot-linux-gnueabi-strip'
exe_wrapper = [ 'qemu-arm', '-L', '/usr/arm-linux-gnueabi' ]
12 changes: 4 additions & 8 deletions meson/arm-linux-gnueabi-gcc.ini
Original file line number Diff line number Diff line change
Expand Up @@ -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' ]
12 changes: 4 additions & 8 deletions meson/arm-linux-gnueabihf-gcc.ini
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,9 @@ cpu_family = 'arm'
cpu = 'armv7'
endian = 'little'

[constants]
arch = 'arm-linux-gnueabihf'

[binaries]
c = arch + '-gcc'
cpp = arch + '-g++'
ld = arch + '-ld'
strip = arch + '-strip'
pkgconfig = arch + '-pkg-config'
c = 'arm-linux-gnueabihf-gcc'
cpp = 'arm-linux-gnueabihf-g++'
ld = 'arm-linux-gnueabihf-ld'
strip = 'arm-linux-gnueabihf-strip'
exe_wrapper = [ 'qemu-arm', '-L', '/usr/arm-linux-gnueabihf' ]

0 comments on commit b6cb2b5

Please sign in to comment.