Leonid Plyushch
5 years ago
No known key found for this signature in database
GPG Key ID: 45F2964132545795
2 changed files with
3 additions and
4 deletions
-
packages/termux-elf-cleaner/build.sh
-
scripts/build/termux_step_start_build.sh
|
|
@ -4,9 +4,8 @@ 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.6 |
|
|
|
TERMUX_PKG_REVISION=1 |
|
|
|
TERMUX_PKG_VERSION=1.7 |
|
|
|
TERMUX_PKG_SRCURL=https://github.com/termux/termux-elf-cleaner/archive/v${TERMUX_PKG_VERSION}.tar.gz |
|
|
|
TERMUX_PKG_SHA256=94ea8ed64c57f8222ebf933e960be97030a903395d750b499eb792892e0d836f |
|
|
|
TERMUX_PKG_SHA256=cf74cabfcf5c22e0308074e6683ca7efa14f1a3c801d1656b96e38ff7301ae0b |
|
|
|
TERMUX_PKG_DEPENDS="libc++" |
|
|
|
TERMUX_PKG_BUILD_IN_SRC=true |
|
|
|
|
|
@ -139,7 +139,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" \ |
|
|
|
96044b5e0a32ba9ce8bea96684a0723a9b777c4ae4b6739eaafc444dc23f6d7a |
|
|
|
35a4a88542352879ca1919e2e0a62ef458c96f34ee7ce3f70a3c9f74b721d77a |
|
|
|
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" |
|
|
|