--- a/arch/i386/kernel/Makefile 2004-10-28 00:39:50 -07:00 +++ b/arch/i386/kernel/Makefile 2005-01-22 22:57:49 -08:00 @@ -46,7 +46,7 @@ # The DSO images are built using a special linker script. quiet_cmd_syscall = SYSCALL $@ - cmd_syscall = $(CC) -nostdlib $(SYSCFLAGS_$(@F)) \ + cmd_syscall = $(CC) -m elf_i386 -nostdlib $(SYSCFLAGS_$(@F)) \ -Wl,-T,$(filter-out FORCE,$^) -o $@ export CPPFLAGS_vsyscall.lds += -P -C -U$(ARCH)