From 7854b320f2a9313e28d173c96373076e59c1d0f0 Mon Sep 17 00:00:00 2001 From: yang Date: Fri, 26 Oct 2012 11:39:33 +0800 Subject: [PATCH] change compile option to "-O2" --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index b700a51..6338242 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -50,7 +50,7 @@ option(NE10_ENABLE_DSP "Build dsp functionalities to NE10" ON) set(NE10_VERSION 10) # set complile flags for ARM. -set( CMAKE_C_FLAGS "-O3 -mthumb-interwork -march=armv7-a -mcpu=cortex-a9 -mfpu=vfp3" ) +set( CMAKE_C_FLAGS "-O2 -mthumb-interwork -march=armv7-a -mcpu=cortex-a9 -mfpu=vfp3" ) set( CMAKE_ASM_FLAGS "-mthumb-interwork -march=armv7-a -mcpu=cortex-a9 -mfpu=neon" ) -- 2.7.4