commit: f6ca140ab594af185be639082a9140519280f6d8
parent a55597cbd1e4cc218902ca4dadb6624b44fae47d
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date: Fri, 24 May 2024 02:33:34 +0200
bootstrap-xz.sh: switch to (g)make
Diffstat:
1 file changed, 13 insertions(+), 2 deletions(-)
diff --git a/bootstrap-xz.sh b/bootstrap-xz.sh
@@ -1,15 +1,26 @@
#!/bin/sh
set -ex
+die() {
+ echo "die: $@"
+ exit 1
+}
+
+# pdpmake: (Makefile:480): recursive macro am__v_lt_
+# pdpmake: (Makefile:451): failed to build 'clean-recursive' exit 1
+# pdpmake: (Makefile:646): failed to build 'clean-recursive' exit 1
+# Works with GNU make and bmake
+command -v make || die "Run /bootstrap-make.sh"
+
tar xof /xz-*.tar.gz
cd xz-*/
export LD="tcc"
# --disable-symbol-versions: tcc 0.9.28rc doesn't supports .symver
./configure --prefix=/usr --disable-dependency-tracking --disable-symbol-versions --disable-shared
-bmake clean
+make clean
-bmake
+make
# Avoiding libtool nonsense, installing only the xz binary for now
install src/xz/xz /usr/bin