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:
parent
54a1ae38ed
commit
a3d12b6314
@ -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" \
|
||||
|
Loading…
Reference in New Issue
Block a user