commit c831a83

chld  ·  2026-09-01 02:02:11 +0000 UTC
parent df84fd0
toybox: disable tar, incompatible with spc
1 files changed,  +2, -0
+2, -0
 1@@ -1,3 +1,4 @@
 2+
 3 #!/bin/sh -ue
 4 NAME=toybox
 5 VERSION=git
 6@@ -17,6 +18,7 @@ build(){
 7     
 8     gmake CFLAGS='-static' LDFLAGS='-static' defconfig || die "defconfig failed"
 9     sed -i 's/CONFIG_TAR=y/CONFIG_TAR=n/' .config
10+    gmake CFLAGS='-static' LDFLAGS='-static' olddefconfig || die "olddefconfig failed"
11     gmake CFLAGS='-static' LDFLAGS='-static' PREFIX="$PKG" || die "gmake failed"
12     gmake CFLAGS='-static' LDFLAGS='-static' PREFIX="$PKG" install || die "install failed"
13 }