aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sparc/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'arch/sparc/Makefile')
-rw-r--r--arch/sparc/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/arch/sparc/Makefile b/arch/sparc/Makefile
index 9592889a6fd0..c5f3d6fe8a67 100644
--- a/arch/sparc/Makefile
+++ b/arch/sparc/Makefile
@@ -11,9 +11,10 @@
11# Uncomment the first KBUILD_CFLAGS if you are doing kgdb source level 11# Uncomment the first KBUILD_CFLAGS if you are doing kgdb source level
12# debugging of the kernel to get the proper debugging information. 12# debugging of the kernel to get the proper debugging information.
13 13
14AS := $(AS) -32 14AS := $(AS) -32
15LDFLAGS := -m elf32_sparc 15LDFLAGS := -m elf32_sparc
16CHECKFLAGS += -D__sparc__ 16CHECKFLAGS += -D__sparc__
17export BITS := 32
17 18
18#KBUILD_CFLAGS += -g -pipe -fcall-used-g5 -fcall-used-g7 19#KBUILD_CFLAGS += -g -pipe -fcall-used-g5 -fcall-used-g7
19KBUILD_CFLAGS += -m32 -pipe -mno-fpu -fcall-used-g5 -fcall-used-g7 20KBUILD_CFLAGS += -m32 -pipe -mno-fpu -fcall-used-g5 -fcall-used-g7