aboutsummaryrefslogtreecommitdiff
path: root/arch/sparc64/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'arch/sparc64/Makefile')
-rw-r--r--arch/sparc64/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/sparc64/Makefile b/arch/sparc64/Makefile
index c7214abc0d8..51bc33a6ef3 100644
--- a/arch/sparc64/Makefile
+++ b/arch/sparc64/Makefile
@@ -12,8 +12,8 @@ CHECKFLAGS += -D__sparc__ -D__sparc_v9__ -D__arch64__ -m64
# Undefine sparc when processing vmlinux.lds - it is used
# And teach CPP we are doing 64 bit builds (for this case)
CPPFLAGS_vmlinux.lds += -m64 -Usparc
-
-LDFLAGS := -m elf64_sparc
+LDFLAGS := -m elf64_sparc
+export BITS := 64
KBUILD_CFLAGS += -m64 -pipe -mno-fpu -mcpu=ultrasparc -mcmodel=medlow \
-ffixed-g4 -ffixed-g5 -fcall-used-g7 -Wno-sign-compare \