termux-elf-cleaner: update to v1.5

Now it no longer removes GNU version sections.
This commit is contained in:
Leonid Pliushch 2019-03-12 14:20:07 +02:00
parent 391d0b2808
commit c091cdc962
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.4 TERMUX_PKG_VERSION=1.5
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=a88829b74bef2830fddd5b83eb6569db46dd8045c3eeb3670ab43382cfb7ab3c TERMUX_PKG_SHA256=7f4ee9e8921ae72054c9ad075d8c48bb3d44d71326ef0ef423b9add2e0461a09
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" \
ad66652e26ae2379b4b3137b6fca16241cf0247b9fbdaeb0974b000cd87e1a1a 69a849c41a5160044d38eb2b16f44525eeebb753a08efbd9e846bc5bdbfea5b1
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"