[PATCH] mn10300: Remove -mmemfuncs from KBUILD_CFLAGS

From: Tony Breeds
Date: Thu Mar 15 2012 - 18:22:18 EST


It seems the current (gcc 4.6.3) no longer provide this so remove it.

With this patch the mn10300 architecture cross-compiles with gcc-4.6.3

Signed-off-by: Tony Breeds <tony@xxxxxxxxxxxxxxxxxx>
---
arch/mn10300/Makefile | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/mn10300/Makefile b/arch/mn10300/Makefile
index 7120282..d6116c5 100644
--- a/arch/mn10300/Makefile
+++ b/arch/mn10300/Makefile
@@ -26,7 +26,7 @@ CHECKFLAGS +=
PROCESSOR := unset
UNIT := unset

-KBUILD_CFLAGS += -mam33 -mmem-funcs -DCPU=AM33
+KBUILD_CFLAGS += -mam33 -DCPU=AM33
KBUILD_AFLAGS += -mam33 -DCPU=AM33

ifeq ($(CONFIG_MN10300_CURRENT_IN_E2),y)
--
1.7.7.6

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/