From: Glauber de Oliveira Costa Date: Wed, 30 Jan 2008 12:31:03 +0000 (+0100) Subject: x86: wipe out traditional opt from x86_64 Makefile X-Git-Tag: v2.6.25-rc1~1143^2~651 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=fe58fc8f40257948c2f9fc5a56863077ce3138f0;p=karo-tx-linux.git x86: wipe out traditional opt from x86_64 Makefile Among other things, using -traditional as a gcc option stops us from using macro token pasting, which is a feature we heavily rely on. There was still a use of -traditional in arch/x86/kernel/Makefile_64, which this patch removes. I don't see any problems building kernels in my x86_64 box without -traditional. Signed-off-by: Glauber de Oliveira Costa Signed-off-by: Steven Rostedt Acked-by: Jeremy Fitzhardinge Signed-off-by: Ingo Molnar Signed-off-by: Thomas Gleixner --- diff --git a/arch/x86/kernel/Makefile_64 b/arch/x86/kernel/Makefile_64 index b41e838dc788..19af64e1a3fc 100644 --- a/arch/x86/kernel/Makefile_64 +++ b/arch/x86/kernel/Makefile_64 @@ -4,7 +4,6 @@ extra-y := head_64.o head64.o init_task.o vmlinux.lds CPPFLAGS_vmlinux.lds += -Ux86_64 -EXTRA_AFLAGS := -traditional obj-y := process_64.o signal_64.o entry_64.o traps_64.o irq_64.o \ time_64.o ioport_64.o ldt.o setup_64.o i8259_64.o sys_x86_64.o \