--- zzzz-none-000/linux-2.6.19.2/arch/um/Makefile-x86_64 2007-01-10 19:10:37.000000000 +0000 +++ davinci-8020-5505/linux-2.6.19.2/arch/um/Makefile-x86_64 2007-01-11 07:38:19.000000000 +0000 @@ -8,8 +8,8 @@ #We #undef __x86_64__ for kernelspace, not for userspace where #it's needed for headers to work! -ARCH_KERNEL_DEFINES = -U__$(SUBARCH)__ -CFLAGS += $(_extra_flags_) +CFLAGS += -U__$(SUBARCH)__ $(_extra_flags_) +USER_CFLAGS += $(_extra_flags_) CHECKFLAGS += -m64 AFLAGS += -m64