build-package: switch the archiver for debian packages over to the one from the NDK, which gets on-device builds working again
Also, remove the binutils-gold dependency for on-device builds, since we switched everything over to lld now, just like the latest NDK 23.
This commit is contained in:
parent
1566ce500c
commit
034874f693
|
@ -93,7 +93,7 @@ termux_create_debian_subpackages() {
|
|||
# Create the actual .deb file:
|
||||
TERMUX_SUBPKG_DEBFILE=$TERMUX_OUTPUT_DIR/${SUB_PKG_NAME}${DEBUG}_${TERMUX_PKG_FULLVERSION}_${SUB_PKG_ARCH}.deb
|
||||
test ! -f "$TERMUX_COMMON_CACHEDIR/debian-binary" && echo "2.0" > "$TERMUX_COMMON_CACHEDIR/debian-binary"
|
||||
ar cr "$TERMUX_SUBPKG_DEBFILE" \
|
||||
$AR cr "$TERMUX_SUBPKG_DEBFILE" \
|
||||
"$TERMUX_COMMON_CACHEDIR/debian-binary" \
|
||||
"$SUB_PKG_PACKAGE_DIR/control.tar.xz" \
|
||||
"$SUB_PKG_PACKAGE_DIR/data.tar.xz"
|
||||
|
|
|
@ -46,7 +46,7 @@ termux_step_create_debian_package() {
|
|||
test ! -f "$TERMUX_COMMON_CACHEDIR/debian-binary" && echo "2.0" > "$TERMUX_COMMON_CACHEDIR/debian-binary"
|
||||
TERMUX_PKG_DEBFILE=$TERMUX_OUTPUT_DIR/${TERMUX_PKG_NAME}${DEBUG}_${TERMUX_PKG_FULLVERSION}_${TERMUX_ARCH}.deb
|
||||
# Create the actual .deb file:
|
||||
ar cr "$TERMUX_PKG_DEBFILE" \
|
||||
$AR cr "$TERMUX_PKG_DEBFILE" \
|
||||
"$TERMUX_COMMON_CACHEDIR/debian-binary" \
|
||||
"$TERMUX_PKG_PACKAGEDIR/control.tar.xz" \
|
||||
"$TERMUX_PKG_PACKAGEDIR/data.tar.xz"
|
||||
|
|
|
@ -2,7 +2,6 @@
|
|||
|
||||
PACKAGES=""
|
||||
# Tier 1: requirements for the core build scripts in scripts/build/.
|
||||
PACKAGES+=" binutils-gold" # Part of binutils which is dependency of clang.
|
||||
PACKAGES+=" clang" # Required for termux-elf-cleaner and C/C++ packages.
|
||||
PACKAGES+=" file" # Used in termux_step_massage().
|
||||
PACKAGES+=" gnupg" # Used in termux_get_repo_files() and build-package.sh.
|
||||
|
|
Loading…
Reference in New Issue