termux-elf-cleaner: update to 1.10

This commit is contained in:
Lucy Phipps 2021-10-23 09:47:06 +01:00
parent de9bb8bbde
commit 2a62732791
No known key found for this signature in database
GPG Key ID: 8F688A3DB7869BFE
2 changed files with 5 additions and 5 deletions

View File

@ -2,12 +2,12 @@ TERMUX_PKG_HOMEPAGE=https://github.com/termux/termux-elf-cleaner
TERMUX_PKG_DESCRIPTION="Cleaner of ELF files for Android"
TERMUX_PKG_LICENSE="GPL-3.0"
TERMUX_PKG_MAINTAINER="@termux"
# NOTE: The termux-elf-cleaner.cpp file is used by build-package.sh
# NOTE: The termux-elf-cleaner.cpp file is used by
# scripts/build/termux_step_start_build.sh
# to create a native binary. Bumping this version will need
# updating the checksum used there.
TERMUX_PKG_VERSION=1.7
TERMUX_PKG_REVISION=1
TERMUX_PKG_VERSION=1.10
TERMUX_PKG_SRCURL=https://github.com/termux/termux-elf-cleaner/archive/v${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_SHA256=cf74cabfcf5c22e0308074e6683ca7efa14f1a3c801d1656b96e38ff7301ae0b
TERMUX_PKG_SHA256=b01a48bc6db85c66c683a2834608056ddc66f1964f7553810e8608aee3ee5648
TERMUX_PKG_DEPENDS="libc++"
TERMUX_PKG_BUILD_IN_SRC=true

View File

@ -81,7 +81,7 @@ termux_step_start_build() {
termux_download \
"https://raw.githubusercontent.com/termux/termux-elf-cleaner/v$TERMUX_ELF_CLEANER_VERSION/termux-elf-cleaner.cpp" \
"$TERMUX_ELF_CLEANER_SRC" \
35a4a88542352879ca1919e2e0a62ef458c96f34ee7ce3f70a3c9f74b721d77a
022197c19129c4e57a37515bd4adcc19e05f9aa7f9ba4fbcab85a20210c39632
if [ "$TERMUX_ELF_CLEANER_SRC" -nt "$TERMUX_ELF_CLEANER" ]; then
g++ -std=c++11 -Wall -Wextra -pedantic -Os -D__ANDROID_API__=$TERMUX_PKG_API_LEVEL \
"$TERMUX_ELF_CLEANER_SRC" -o "$TERMUX_ELF_CLEANER"