Browse Source

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.
emacs-27
Leonid Plyushch 5 years ago
parent
commit
78422b354c
No known key found for this signature in database GPG Key ID: 45F2964132545795
  1. 3
      packages/busybox/build.sh

3
packages/busybox/build.sh

@ -19,6 +19,9 @@ termux_step_pre_configure() {
} }
termux_step_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" \ sed -e "s|@TERMUX_PREFIX@|$TERMUX_PREFIX|g" \
-e "s|@TERMUX_SYSROOT@|$TERMUX_STANDALONE_TOOLCHAIN/sysroot|g" \ -e "s|@TERMUX_SYSROOT@|$TERMUX_STANDALONE_TOOLCHAIN/sysroot|g" \
-e "s|@TERMUX_HOST_PLATFORM@|${TERMUX_HOST_PLATFORM}|g" \ -e "s|@TERMUX_HOST_PLATFORM@|${TERMUX_HOST_PLATFORM}|g" \

Loading…
Cancel
Save