commit 0d26c33ed8ced5010fac6ed96934e71aaefc207c parent e6fc5b183e3bfe02dd33e7d8cf2bfb0d81541c92 Author: Jan Pobříslo <ccx@te2000.cz> Date: Fri, 22 Sep 2023 04:44:50 +0200 handle undefined CC in automake template Diffstat:
M | templates/autotools | | | 2 | +- |
A | templates/pkg/bootstrap.environment | | | 3 | +++ |
M | templates/pkg/rsync | | | 9 | ++++++++- |
3 files changed, 12 insertions(+), 2 deletions(-)
diff --git a/templates/autotools b/templates/autotools @@ -19,7 +19,7 @@ autotools() { prefix={{versions}}/$pthbs_package ./configure -C \ --prefix="$prefix" \ - --build="$($CC -dumpmachine)" \ + --build="$(${CC:-gcc} -dumpmachine)" \ --bindir="$prefix/command" \ --sbindir="$prefix/command" \ --infodir="$prefix/info" \ diff --git a/templates/pkg/bootstrap.environment b/templates/pkg/bootstrap.environment @@ -0,0 +1,3 @@ +#+{{pkg_install_name("busybox:bootstrap")}} +#+{{pkg_install_name("gnu-make:bootstrap")}} +#+{{pkg_install_name("musl-cross-make:bootstrap")}} diff --git a/templates/pkg/rsync b/templates/pkg/rsync @@ -7,7 +7,14 @@ export CFLAGS="-D_GNU_SOURCE" export LDFLAGS="-static" -autotools rsync-3.2.7 --enable-static --disable-shared --disable-nls --without-included-popt --disable-openssl +autotools rsync-3.2.7 \ + --enable-static --disable-shared --disable-nls \ + --without-included-popt \ + --disable-openssl \ + --disable-xxhash \ + --disable-zstd \ + --disable-lz4 \ + {% endblock %} {% block genlinks_begin %} x["./command/rsync"]=1