Build Optimization for size ( -Os )
authorRichard Underhill <r.underhill@partner.samsung.com>
Wed, 30 Apr 2014 16:53:49 +0000 (17:53 +0100)
committerPaul Wisbey <p.wisbey@samsung.com>
Sat, 3 May 2014 09:47:03 +0000 (10:47 +0100)
Signed-off-by: Richard Underhill <r.underhill@partner.samsung.com>
packaging/dali.spec

index aab41be..e5eeede 100644 (file)
@@ -63,7 +63,7 @@ Integration development package for the OpenGLES Canvas
 ##############################
 %build
 PREFIX="/usr"
-CXXFLAGS+=" -Wall -g -O2 -DNDEBUG -fPIC -fvisibility-inlines-hidden -fdata-sections -ffunction-sections "
+CXXFLAGS+=" -Wall -g -Os -DNDEBUG -fPIC -fvisibility-inlines-hidden -fdata-sections -ffunction-sections "
 LDFLAGS+=" -Wl,--rpath=$PREFIX/lib -Wl,--as-needed -Wl,--gc-sections -lgcc_s -lgcc -lpthread"
 
 %if 0%{?sec_build_binary_debug_enable}