busybox: make build logs more readable

Do not spam build log with warnings about unused command line & optimization
arguments. Now finding of build-time issues should be easier.
This commit is contained in:
Leonid Pliushch 2019-11-11 15:14:10 +02:00
parent 54a1ae38ed
commit a3d12b6314
1 changed files with 3 additions and 0 deletions

View File

@ -19,6 +19,9 @@ termux_step_pre_configure() {
}
termux_step_configure() {
# Prevent spamming logs with useless warnings to make them more readable.
CFLAGS+=" -Wno-ignored-optimization-argument -Wno-unused-command-line-argument"
sed -e "s|@TERMUX_PREFIX@|$TERMUX_PREFIX|g" \
-e "s|@TERMUX_SYSROOT@|$TERMUX_STANDALONE_TOOLCHAIN/sysroot|g" \
-e "s|@TERMUX_HOST_PLATFORM@|${TERMUX_HOST_PLATFORM}|g" \