From 43fcb0c598181eafc61b179dab90ae2c2fef48fd Mon Sep 17 00:00:00 2001 From: Leonid Plyushch Date: Mon, 25 Feb 2019 01:59:26 +0200 Subject: [PATCH] termux-elf-cleaner: update to v1.3 --- build-package.sh | 5 +++-- packages/termux-elf-cleaner/build.sh | 4 ++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/build-package.sh b/build-package.sh index 4e5bd907e..861970d86 100755 --- a/build-package.sh +++ b/build-package.sh @@ -672,9 +672,10 @@ 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" \ - 62c3cf9813756a1b262108fbc39684c5cfd3f9a69b376276bb1ac6af138f5fa2 + 690991371101cd1dadf73f07f73d1db72fe1cd646dcccf11cd252e194bd5de76 if [ "$TERMUX_ELF_CLEANER_SRC" -nt "$TERMUX_ELF_CLEANER" ]; then - g++ -std=c++11 -Wall -Wextra -pedantic -Os "$TERMUX_ELF_CLEANER_SRC" -o "$TERMUX_ELF_CLEANER" + g++ -std=c++11 -Wall -Wextra -pedantic -Os -D__ANDROID_API__=$TERMUX_PKG_API_LEVEL \ + "$TERMUX_ELF_CLEANER_SRC" -o "$TERMUX_ELF_CLEANER" fi if [ -n "$TERMUX_PKG_BUILD_IN_SRC" ]; then diff --git a/packages/termux-elf-cleaner/build.sh b/packages/termux-elf-cleaner/build.sh index 4acc3eabf..1f0d9a84e 100644 --- a/packages/termux-elf-cleaner/build.sh +++ b/packages/termux-elf-cleaner/build.sh @@ -4,7 +4,7 @@ TERMUX_PKG_LICENSE="GPL-3.0" # NOTE: The termux-elf-cleaner.cpp file is used by build-package.sh # to create a native binary. Bumping this version will need # updating the checksum used there. -TERMUX_PKG_VERSION=1.2 +TERMUX_PKG_VERSION=1.3 TERMUX_PKG_SRCURL=https://github.com/termux/termux-elf-cleaner/archive/v${TERMUX_PKG_VERSION}.tar.gz -TERMUX_PKG_SHA256=956d35778bf40523543a98ecec79d7d895a08ac69da1018acb84658a1c94e82b +TERMUX_PKG_SHA256=972e768d6e5b780415190bda966f76401d95e5da66fef01ba0dbd63a1ea106cf TERMUX_PKG_BUILD_IN_SRC=yes