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
3 deletions
-
packages/termux-elf-cleaner/build.sh
-
scripts/build/termux_step_start_build.sh
|
|
@ -4,8 +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.7 |
|
|
|
TERMUX_PKG_VERSION=1.8 |
|
|
|
TERMUX_PKG_SRCURL=https://github.com/termux/termux-elf-cleaner/archive/v${TERMUX_PKG_VERSION}.tar.gz |
|
|
|
TERMUX_PKG_SHA256=cf74cabfcf5c22e0308074e6683ca7efa14f1a3c801d1656b96e38ff7301ae0b |
|
|
|
TERMUX_PKG_SHA256=c5870051fc996a2064b4d4e2ab6139edd8add9127ab6761925e47de925100a87 |
|
|
|
TERMUX_PKG_DEPENDS="libc++" |
|
|
|
TERMUX_PKG_BUILD_IN_SRC=true |
|
|
|
|
|
@ -162,7 +162,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 |
|
|
|
96044b5e0a32ba9ce8bea96684a0723a9b777c4ae4b6739eaafc444dc23f6d7a |
|
|
|
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" |
|
|
|