diff options
-rw-r--r-- | arch/i386/Makefile | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/i386/Makefile b/arch/i386/Makefile index 1c36ca332a96..bf7c9ba709f3 100644 --- a/arch/i386/Makefile +++ b/arch/i386/Makefile | |||
@@ -17,6 +17,13 @@ | |||
17 | # 20050320 Kianusch Sayah Karadji <kianusch@sk-tech.net> | 17 | # 20050320 Kianusch Sayah Karadji <kianusch@sk-tech.net> |
18 | # Added support for GEODE CPU | 18 | # Added support for GEODE CPU |
19 | 19 | ||
20 | HAS_BIARCH := $(call cc-option-yn, -m32) | ||
21 | ifeq ($(HAS_BIARCH),y) | ||
22 | AS := $(AS) --32 | ||
23 | LD := $(LD) -m elf_i386 | ||
24 | CC := $(CC) -m32 | ||
25 | endif | ||
26 | |||
20 | LDFLAGS := -m elf_i386 | 27 | LDFLAGS := -m elf_i386 |
21 | OBJCOPYFLAGS := -O binary -R .note -R .comment -S | 28 | OBJCOPYFLAGS := -O binary -R .note -R .comment -S |
22 | LDFLAGS_vmlinux := | 29 | LDFLAGS_vmlinux := |