From a0834ab711bb78e795ab6ca249ac24420631c423 Mon Sep 17 00:00:00 2001 From: Richard Underhill Date: Wed, 30 Apr 2014 17:53:49 +0100 Subject: [PATCH] Build Optimization for size ( -Os ) Signed-off-by: Richard Underhill --- packaging/dali.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packaging/dali.spec b/packaging/dali.spec index aab41be..e5eeede 100644 --- a/packaging/dali.spec +++ b/packaging/dali.spec @@ -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} -- 2.7.4