db793480cb
text data bss dec hex filename 1020934 559 5052 1026545 fa9f1 busybox_old 1020750 559 5052 1026361 fa939 busybox_unstripped Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
22 lines
996 B
Makefile
22 lines
996 B
Makefile
# ==========================================================================
|
|
# Build system
|
|
# ==========================================================================
|
|
|
|
# Allow i486 insns (basically, bswap insn)
|
|
# Do not try to tune for 486+ (might add padding)
|
|
CFLAGS += $(call cc-option,-march=i486 -mtune=i386,)
|
|
|
|
ifeq ($(CONFIG_STACK_OPTIMIZATION_386),y)
|
|
# -mpreferred-stack-boundary=2 is essential in preventing gcc 4.2.x
|
|
# from aligning stack to 16 bytes. (Which is gcc's way of supporting SSE).
|
|
CFLAGS += $(call cc-option,-mpreferred-stack-boundary=2,)
|
|
endif
|
|
|
|
# "Control how GCC aligns variables.
|
|
# Supported values for type are compat uses increased alignment value
|
|
# compatible uses GCC 4.8 and earlier, abi uses alignment value as specified by the psABI,
|
|
# and cacheline uses increased alignment value to match the cache line size.
|
|
# compat is the default."
|
|
# "abi" seems to be somewhat successful in preventing oversealous data alignment.
|
|
CFLAGS += $(call cc-option,-malign-data=abi,)
|