termux-packages/packages/termux-elf-cleaner/build.sh
Fredrik Fornwall 2497d95791 Strip libc.so before linking against it
This avoids creating unwanted sections in the built ELF files that
causes issues when removed.

Fixes #412.
2016-09-24 19:30:20 -04:00

8 lines
291 B
Bash

TERMUX_PKG_HOMEPAGE=https://termux.com/
TERMUX_PKG_DESCRIPTION="Cleaner of ELF files for Android"
TERMUX_PKG_VERSION=1.1
termux_step_make_install () {
$CXX $CFLAGS $LDFLAGS -std=c++14 -Wall -Wextra -pedantic -Werror $TERMUX_PKG_BUILDER_DIR/*.cpp -o $TERMUX_PREFIX/bin/termux-elf-cleaner
}