Skip to content

busybox-build-guards-v1

@dscho dscho tagged this 14 Jul 14:11
It would appear that some compile-time flags are used as if they were
runtime flags, i.e. they are used in if (...) constructs, not in
`#if ... #endif` guards.

The effect *should* be the same, except when switching off optimization
(e.g. for debugging) where dead code is not removed, possibly leading to
build errors where features are disabled because the required functions
are unavailable.

Johannes Schindelin (3):
  copyfd: reinstate proper guard around munmap()
  inet_common: handle FEATURE_ETC_NETWORKS as a compile-time flag
  ash: use JOBS as the compile time option it actually is

 libbb/copyfd.c      |  2 ++
 libbb/inet_common.c |  5 ++++-
 shell/ash.c         | 12 +++++++++---
 3 files changed, 15 insertions(+), 4 deletions(-)

base-commit: a03ac6067764549f4ae25f9a34e1ee9b0d2bb4f2

Submitted-As: https://public-inbox.org/git/null
Assets 2
Loading