aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86_64/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86_64/Makefile')
-rw-r--r--arch/x86_64/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86_64/Makefile b/arch/x86_64/Makefile
index f5e48ba9bec7..0fbc0283609c 100644
--- a/arch/x86_64/Makefile
+++ b/arch/x86_64/Makefile
@@ -36,6 +36,7 @@ CFLAGS += -m64
36CFLAGS += -mno-red-zone 36CFLAGS += -mno-red-zone
37CFLAGS += -mcmodel=kernel 37CFLAGS += -mcmodel=kernel
38CFLAGS += -pipe 38CFLAGS += -pipe
39cflags-$(CONFIG_REORDER) += -ffunction-sections
39# this makes reading assembly source easier, but produces worse code 40# this makes reading assembly source easier, but produces worse code
40# actually it makes the kernel smaller too. 41# actually it makes the kernel smaller too.
41CFLAGS += -fno-reorder-blocks 42CFLAGS += -fno-reorder-blocks