diff options
Diffstat (limited to 'arch/x86_64/Makefile')
-rw-r--r-- | arch/x86_64/Makefile | 1 |
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 | |||
36 | CFLAGS += -mno-red-zone | 36 | CFLAGS += -mno-red-zone |
37 | CFLAGS += -mcmodel=kernel | 37 | CFLAGS += -mcmodel=kernel |
38 | CFLAGS += -pipe | 38 | CFLAGS += -pipe |
39 | cflags-$(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. |
41 | CFLAGS += -fno-reorder-blocks | 42 | CFLAGS += -fno-reorder-blocks |