[PATCH 1/2] bsp/leon2: Use -mcpu=v8

Sebastian Huber sebastian.huber at embedded-brains.de
Tue Jun 13 12:34:25 UTC 2017


Use -mcpu=v8 since this is the corresponding multilib compiler option.
---
 c/src/lib/libbsp/sparc/leon2/make/custom/leon2.cfg | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/c/src/lib/libbsp/sparc/leon2/make/custom/leon2.cfg b/c/src/lib/libbsp/sparc/leon2/make/custom/leon2.cfg
index af1cb1b44d..7d174f44d3 100644
--- a/c/src/lib/libbsp/sparc/leon2/make/custom/leon2.cfg
+++ b/c/src/lib/libbsp/sparc/leon2/make/custom/leon2.cfg
@@ -9,7 +9,7 @@ RTEMS_CPU_MODEL=leon2
 
 #  This contains the compiler options necessary to select the CPU model
 #  and (hopefully) optimize for it.
-CPU_CFLAGS = -mcpu=cypress -msoft-float
+CPU_CFLAGS = -mcpu=v8 -msoft-float
 
 # optimize flag: typically -O2
 CFLAGS_OPTIMIZE_V = -O2 -g
-- 
2.12.3



More information about the devel mailing list