summaryrefslogtreecommitdiffhomepage
path: root/arch/x86_64/Makefile
blob: 16576fb81882bbd89b87b7d3e2590aa58d921411 (plain)
1
2
3
4
5
6
7
8
9
10
11
# ==========================================================================
# Build system
# ==========================================================================

# "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,)