diff options
-rw-r--r-- | arch/sparc64/Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/sparc64/Makefile b/arch/sparc64/Makefile index 4b8f2b084c21..b785a395b12f 100644 --- a/arch/sparc64/Makefile +++ b/arch/sparc64/Makefile | |||
@@ -9,7 +9,9 @@ | |||
9 | 9 | ||
10 | CHECKFLAGS += -D__sparc__ -D__sparc_v9__ -m64 | 10 | CHECKFLAGS += -D__sparc__ -D__sparc_v9__ -m64 |
11 | 11 | ||
12 | CPPFLAGS_vmlinux.lds += -Usparc | 12 | # Undefine sparc when processing vmlinux.lds - it is used |
13 | # And teach CPP we are doing 64 bit builds (for this case) | ||
14 | CPPFLAGS_vmlinux.lds += -m64 -Usparc | ||
13 | 15 | ||
14 | LDFLAGS := -m elf64_sparc | 16 | LDFLAGS := -m elf64_sparc |
15 | 17 | ||