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>