termux-elf-cleaner: update to v1.3
This commit is contained in:
parent
0f0e28c628
commit
1631d65ff1
@ -672,9 +672,10 @@ 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" \
|
||||||
62c3cf9813756a1b262108fbc39684c5cfd3f9a69b376276bb1ac6af138f5fa2
|
690991371101cd1dadf73f07f73d1db72fe1cd646dcccf11cd252e194bd5de76
|
||||||
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 "$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
|
fi
|
||||||
|
|
||||||
if [ -n "$TERMUX_PKG_BUILD_IN_SRC" ]; then
|
if [ -n "$TERMUX_PKG_BUILD_IN_SRC" ]; then
|
||||||
|
@ -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.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_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
|
TERMUX_PKG_BUILD_IN_SRC=yes
|
||||||
|
Loading…
Reference in New Issue
Block a user