|
|
@ -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 |
|
|
|