diff options
Diffstat (limited to 'arch/i386/Makefile')
-rw-r--r-- | arch/i386/Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/i386/Makefile b/arch/i386/Makefile index 0677908dfa06..d1aca52bf690 100644 --- a/arch/i386/Makefile +++ b/arch/i386/Makefile | |||
@@ -26,7 +26,9 @@ endif | |||
26 | 26 | ||
27 | LDFLAGS := -m elf_i386 | 27 | LDFLAGS := -m elf_i386 |
28 | OBJCOPYFLAGS := -O binary -R .note -R .comment -S | 28 | OBJCOPYFLAGS := -O binary -R .note -R .comment -S |
29 | LDFLAGS_vmlinux := | 29 | ifdef CONFIG_RELOCATABLE |
30 | LDFLAGS_vmlinux := --emit-relocs | ||
31 | endif | ||
30 | CHECKFLAGS += -D__i386__ | 32 | CHECKFLAGS += -D__i386__ |
31 | 33 | ||
32 | CFLAGS += -pipe -msoft-float | 34 | CFLAGS += -pipe -msoft-float |