This is the last version supporting Python 3.5, which is still in wide
use. Going forward, python3/host would need to be used. Not sure if
worth it.
Remove paths section as it's deprecated.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Move c/c++ options from properties to built-in options as there is now
a deprecated warning.
Remove cross libdir value. It's default since version 0.50.
Remove ld option as it was removed in version 0.51.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
-Wl,rpath= does not work with clang, yet -Wl,rpath, does not work with
meson. Backport upstream patch fixing this.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
It seems this was cut after the release. Fixes CircleCI compilation.
Remove distutils patch. It looks like it does nothing.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
meson uses a different architecture mapping than CONFIG_ARCH does.
Fix the problematic ones and fall back to CONFIG_ARCH.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
This was uncovered with glib2 where the host builds were linking to the
actual host instead of the generated libraries.
Patch taken from buildroot.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
This removes Python-related build variants, and adds
PYTHON3_PKG_BUILD:=0 and minor build adjustments (where appropriate),
for non-Python packages. There should be no changes to build output.
This also updates some include paths for python3-package.mk and/or
python3-host.mk to be relative to the package Makefile.
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
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>