[rtems commit] bsp/qoriq: Use -O2

Sebastian Huber sebh at rtems.org
Thu Mar 2 14:27:12 UTC 2017


Module:    rtems
Branch:    master
Commit:    35136d3d4eabaf2a51d3ed7603f9bd8cdf765ccb
Changeset: http://git.rtems.org/rtems/commit/?id=35136d3d4eabaf2a51d3ed7603f9bd8cdf765ccb

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Thu Mar  2 15:20:52 2017 +0100

bsp/qoriq: Use -O2

---

 c/src/lib/libbsp/powerpc/qoriq/make/custom/qoriq.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/c/src/lib/libbsp/powerpc/qoriq/make/custom/qoriq.inc b/c/src/lib/libbsp/powerpc/qoriq/make/custom/qoriq.inc
index 3fcc7ce..84a426c 100644
--- a/c/src/lib/libbsp/powerpc/qoriq/make/custom/qoriq.inc
+++ b/c/src/lib/libbsp/powerpc/qoriq/make/custom/qoriq.inc
@@ -12,7 +12,7 @@ CPU_CFLAGS = -mcpu=8540 -meabi -msdata=sysv -fno-common -mstrict-align \
 	-mspe -mabi=spe -mfloat-gprs=double \
 	-D__ppc_generic
 
-CFLAGS_OPTIMIZE_V = -Os -g
+CFLAGS_OPTIMIZE_V = -O2 -g
 CFLAGS_OPTIMIZE_V += -ffunction-sections -fdata-sections
 
 LDFLAGS = -Wl,--gc-sections




More information about the vc mailing list