summaryrefslogtreecommitdiffstats
path: root/arch/nios2/Makefile
diff options
context:
space:
mode:
authorFranck Jullien <franck.jullien@gmail.com>2011-06-13 22:33:28 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2011-06-16 09:49:58 +0200
commitb4294eb0b7231cbea33aef09a5038300e6b5ae8e (patch)
treee353492c1cef4091940314f44115a52c32c61ae6 /arch/nios2/Makefile
parent42207a9cbbefbec4c7fb9aa13f51455e106c34f2 (diff)
downloadbarebox-b4294eb0b7231cbea33aef09a5038300e6b5ae8e.tar.gz
barebox-b4294eb0b7231cbea33aef09a5038300e6b5ae8e.tar.xz
Disable emitting mul instructions by gcc
If we are using barebox on a NiosII/e variant, the mul instruction is not supported and causes an exception. Signed-off-by: Franck Jullien <franck.jullien@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/nios2/Makefile')
-rw-r--r--arch/nios2/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/nios2/Makefile b/arch/nios2/Makefile
index 6603da5ea1..b94e07465b 100644
--- a/arch/nios2/Makefile
+++ b/arch/nios2/Makefile
@@ -1,4 +1,4 @@
-CPPFLAGS += -fno-strict-aliasing
+CPPFLAGS += -fno-strict-aliasing -mno-hw-mul
board-$(CONFIG_GENERIC) := generic