summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorAnton Blanchard <anton@samba.org>2011-06-30 13:55:27 +0000
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2011-07-01 13:49:27 +1000
commitaf9719c3062dfe216a0c3de3fa52be6d22b4456c (patch)
treeb2fa6faa297ff3681bcee6ff9d2924dee2755e83 /arch
parentac5f89c7d87f6f2fb7073723fc943488d9c3479d (diff)
downloadlinux-stable-af9719c3062dfe216a0c3de3fa52be6d22b4456c.tar.gz
linux-stable-af9719c3062dfe216a0c3de3fa52be6d22b4456c.tar.bz2
linux-stable-af9719c3062dfe216a0c3de3fa52be6d22b4456c.zip
powerpc: Use -mtraceback=no
gcc 4.7 will be more strict about parsing the -mtraceback option: gcc: error: unrecognized argument in option '-mtraceback=none' gcc: note: valid arguments to '-mtraceback=' are: full no part gcc used to do a 2 char compare so both "no" and "none" would match. Switch to using -mtraceback=no should work everywhere. Signed-off-by: Anton Blanchard <anton@samba.org> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch')
-rw-r--r--arch/powerpc/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/Makefile b/arch/powerpc/Makefile
index b7212b619c52..f1b5251d46fc 100644
--- a/arch/powerpc/Makefile
+++ b/arch/powerpc/Makefile
@@ -67,7 +67,7 @@ LDFLAGS_vmlinux-yy := -Bstatic
LDFLAGS_vmlinux-$(CONFIG_PPC64)$(CONFIG_RELOCATABLE) := -pie
LDFLAGS_vmlinux := $(LDFLAGS_vmlinux-yy)
-CFLAGS-$(CONFIG_PPC64) := -mminimal-toc -mtraceback=none -mcall-aixdesc
+CFLAGS-$(CONFIG_PPC64) := -mminimal-toc -mtraceback=no -mcall-aixdesc
CFLAGS-$(CONFIG_PPC32) := -ffixed-r2 -mmultiple
KBUILD_CPPFLAGS += -Iarch/$(ARCH)
KBUILD_AFLAGS += -Iarch/$(ARCH)