summaryrefslogtreecommitdiff
path: root/coreutils/who.c
diff options
context:
space:
mode:
authorKang-Che Sung2017-01-05 09:25:03 +0800
committerDenys Vlasenko2017-01-09 18:52:32 +0100
commitf10f7a21d40d5ce0846414973e88602a59d4580e (patch)
tree5175d6320513012ed73c1836a78440f086205b03 /coreutils/who.c
parent61a91af63dbc91f85058efda5c542dfc859ab1be (diff)
downloadbusybox-f10f7a21d40d5ce0846414973e88602a59d4580e.zip
busybox-f10f7a21d40d5ce0846414973e88602a59d4580e.tar.gz
Allow FAST_FUNC to be overridden at build time
Busybox uses FAST_FUNC macro to tweak with IA-32 calling conventions in order to make the function call slightly smaller or slightly faster. However, when I experiment with GCC's LTO (Link Time Optimization), I discovered that FAST_FUNC could hinder LTO's optimization so that the resulting executable become a few bytes larger (than what is compiled without FAST_FUNC). This change allows to specify e.g. CONFIG_EXTRA_CFLAGS="-DFAST_FUNC= -flto" and compile with LTO without a source code hack. Signed-off-by: Kang-Che Sung <explorer09@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'coreutils/who.c')
0 files changed, 0 insertions, 0 deletions