termux-elf-cleaner: update to v1.4

Provides fix for Android 5.
This commit is contained in:
Leonid Pliushch 2019-03-03 22:38:18 +02:00
parent 49ccbcba26
commit 858c73d75a
2 changed files with 3 additions and 3 deletions

View File

@ -4,7 +4,7 @@ TERMUX_PKG_LICENSE="GPL-3.0"
# NOTE: The termux-elf-cleaner.cpp file is used by build-package.sh # NOTE: The termux-elf-cleaner.cpp file is used by build-package.sh
# to create a native binary. Bumping this version will need # to create a native binary. Bumping this version will need
# updating the checksum used there. # updating the checksum used there.
TERMUX_PKG_VERSION=1.3 TERMUX_PKG_VERSION=1.4
TERMUX_PKG_SRCURL=https://github.com/termux/termux-elf-cleaner/archive/v${TERMUX_PKG_VERSION}.tar.gz TERMUX_PKG_SRCURL=https://github.com/termux/termux-elf-cleaner/archive/v${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_SHA256=972e768d6e5b780415190bda966f76401d95e5da66fef01ba0dbd63a1ea106cf TERMUX_PKG_SHA256=a88829b74bef2830fddd5b83eb6569db46dd8045c3eeb3670ab43382cfb7ab3c
TERMUX_PKG_BUILD_IN_SRC=yes TERMUX_PKG_BUILD_IN_SRC=yes

View File

@ -121,7 +121,7 @@ termux_step_start_build() {
termux_download \ termux_download \
"https://raw.githubusercontent.com/termux/termux-elf-cleaner/v$TERMUX_ELF_CLEANER_VERSION/termux-elf-cleaner.cpp" \ "https://raw.githubusercontent.com/termux/termux-elf-cleaner/v$TERMUX_ELF_CLEANER_VERSION/termux-elf-cleaner.cpp" \
"$TERMUX_ELF_CLEANER_SRC" \ "$TERMUX_ELF_CLEANER_SRC" \
690991371101cd1dadf73f07f73d1db72fe1cd646dcccf11cd252e194bd5de76 ad66652e26ae2379b4b3137b6fca16241cf0247b9fbdaeb0974b000cd87e1a1a
if [ "$TERMUX_ELF_CLEANER_SRC" -nt "$TERMUX_ELF_CLEANER" ]; then 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 \ g++ -std=c++11 -Wall -Wextra -pedantic -Os -D__ANDROID_API__=$TERMUX_PKG_API_LEVEL \
"$TERMUX_ELF_CLEANER_SRC" -o "$TERMUX_ELF_CLEANER" "$TERMUX_ELF_CLEANER_SRC" -o "$TERMUX_ELF_CLEANER"