diff options
Diffstat (limited to 'arch/sparc/Makefile')
-rw-r--r-- | arch/sparc/Makefile | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/sparc/Makefile b/arch/sparc/Makefile index eaee14637d93..8496a074bd0e 100644 --- a/arch/sparc/Makefile +++ b/arch/sparc/Makefile | |||
@@ -24,7 +24,13 @@ LDFLAGS := -m elf32_sparc | |||
24 | export BITS := 32 | 24 | export BITS := 32 |
25 | UTS_MACHINE := sparc | 25 | UTS_MACHINE := sparc |
26 | 26 | ||
27 | # We are adding -Wa,-Av8 to KBUILD_CFLAGS to deal with a specs bug in some | ||
28 | # versions of gcc. Some gcc versions won't pass -Av8 to binutils when you | ||
29 | # give -mcpu=v8. This silently worked with older bintutils versions but | ||
30 | # does not any more. | ||
27 | KBUILD_CFLAGS += -m32 -mcpu=v8 -pipe -mno-fpu -fcall-used-g5 -fcall-used-g7 | 31 | KBUILD_CFLAGS += -m32 -mcpu=v8 -pipe -mno-fpu -fcall-used-g5 -fcall-used-g7 |
32 | KBUILD_CFLAGS += -Wa,-Av8 | ||
33 | |||
28 | KBUILD_AFLAGS += -m32 -Wa,-Av8 | 34 | KBUILD_AFLAGS += -m32 -Wa,-Av8 |
29 | 35 | ||
30 | else | 36 | else |