1
0
mirror of https://git.openwrt.org/feed/packages.git synced 2024-06-15 11:53:59 +02:00
openwrt-packages/devel/meson/src
Andre Heider f5c8565d1b meson: fix building host binaries with ccache
With CONFIG_CCACHE, $HOSTCC is 'ccache gcc' while $TARGET_CC points to a
single wrapper script. Compiling target binaries with ccache works, but
doesn't for host binaries, because we need to supply an argv array for
argc > 1 in the meson cross file.

Always pass an array for the c and c++ compiler, and while at it, do it
for the target as well - just to be on the safe side if that ever
changes.

Fixes #10982.

Signed-off-by: Andre Heider <a.heider@gmail.com>
2020-01-11 18:49:17 +01:00
..
openwrt-cross.txt.in meson: fix building host binaries with ccache 2020-01-11 18:49:17 +01:00
openwrt-native.txt.in meson: fix building host binaries with ccache 2020-01-11 18:49:17 +01:00