diff options
Diffstat (limited to 'arch/x86_64/Makefile')
-rw-r--r-- | arch/x86_64/Makefile | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/x86_64/Makefile b/arch/x86_64/Makefile index 2d3e9be229c0..d7fd46479c55 100644 --- a/arch/x86_64/Makefile +++ b/arch/x86_64/Makefile | |||
@@ -31,6 +31,7 @@ cflags-$(CONFIG_MK8) += $(call cc-option,-march=k8) | |||
31 | cflags-$(CONFIG_MPSC) += $(call cc-option,-march=nocona) | 31 | cflags-$(CONFIG_MPSC) += $(call cc-option,-march=nocona) |
32 | CFLAGS += $(cflags-y) | 32 | CFLAGS += $(cflags-y) |
33 | 33 | ||
34 | CFLAGS += -m64 | ||
34 | CFLAGS += -mno-red-zone | 35 | CFLAGS += -mno-red-zone |
35 | CFLAGS += -mcmodel=kernel | 36 | CFLAGS += -mcmodel=kernel |
36 | CFLAGS += -pipe | 37 | CFLAGS += -pipe |
@@ -52,6 +53,8 @@ CFLAGS += $(call cc-option,-funit-at-a-time) | |||
52 | # prevent gcc from generating any FP code by mistake | 53 | # prevent gcc from generating any FP code by mistake |
53 | CFLAGS += $(call cc-option,-mno-sse -mno-mmx -mno-sse2 -mno-3dnow,) | 54 | CFLAGS += $(call cc-option,-mno-sse -mno-mmx -mno-sse2 -mno-3dnow,) |
54 | 55 | ||
56 | AFLAGS += -m64 | ||
57 | |||
55 | head-y := arch/x86_64/kernel/head.o arch/x86_64/kernel/head64.o arch/x86_64/kernel/init_task.o | 58 | head-y := arch/x86_64/kernel/head.o arch/x86_64/kernel/head64.o arch/x86_64/kernel/init_task.o |
56 | 59 | ||
57 | libs-y += arch/x86_64/lib/ | 60 | libs-y += arch/x86_64/lib/ |