This is based on the toolchain GCC, and aims to share as much of its
Makefile and patches with that definition. The package requires one
additional patch:
(1) 003-dont-choke-when-building-32bit-on-64bit.patch, which fixes the
`error: size of array 'test_real_width' is negative` error that occurs
when building a 32-bit GCC on a 64-bit host. (Search the Internet for
examples of this error appearing.)
Signed-off-by: W. Michael Petullo <mike@flyn.org>
(cherry picked from commit ceaa6e840e)
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
[added gcc version 9.3.0, downgraded gcc to 10.2.0, removed gcc version
11.3.0 as it is now in sync with OpenWrt 21.02]
Even though PKG_BUILD_PARALLEL is set for the package, the package calls
$(MAKE) without $(PKG_JOBS), so it was always built with only one job.
Fix this by adding $(PKG_JOBS) to the $(MAKE) call, and calling make
install only after make all is finished.
Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
(cherry picked from commit 1f91016ac3)
The crude loop I wrote to come up with this changeset:
find -L package/feeds/packages/ -name patches | \
sed 's/patches$/refresh/' | sort | xargs make
Signed-off-by: Ilya Lipnitskiy <ilya.lipnitskiy@gmail.com>
(cherry picked from commit 5d8d4fbbcb)
Signed-off-by: Jeffery To <jeffery.to@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>
From the README:
Packr is a simple solution for bundling static assets inside of Go
binaries. Most importantly it does it in a way that is friendly to
developers while they are developing.
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
CMake supports Ninja for faster compilation and less bugginess when it
comes to parallel compilation. That is, some CMake packages currently
have PKG_BUILD_PARALLEL set where it is not needed with ninja.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Cleaned up Makefile to standards.
Replaced HIDDEN with BUILDONLY. It's more descriptive.
Added PKG_HOST_ONLY. This is a host only package.
Added HOST_BUILD_PARALLEL.
Added URL for uscan.
Added patch to fix library searching.
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>