summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenis Khalikov <d.khalikov@partner.samsung.com>2016-11-30 13:26:11 +0300
committerDenis Khalikov <d.khalikov@partner.samsung.com>2016-11-30 13:26:11 +0300
commitb8747f61476e601f3adcdee6c6f07d177456eaa9 (patch)
treeaeed0e6d50d51901ce8779b0a2796781ede2a6dd
parent297cff039defd4029ec88722292360e0ac6feaaf (diff)
downloadapplication-sandbox/denis13/LTO.tar.gz
application-sandbox/denis13/LTO.tar.bz2
application-sandbox/denis13/LTO.zip
remvoed -flto to reduce sizesandbox/denis13/LTO
-rw-r--r--packaging/capi-appfw-application.spec2
1 files changed, 2 insertions, 0 deletions
diff --git a/packaging/capi-appfw-application.spec b/packaging/capi-appfw-application.spec
index f5d9001..78d9bb1 100644
--- a/packaging/capi-appfw-application.spec
+++ b/packaging/capi-appfw-application.spec
@@ -38,6 +38,8 @@ An Application library in SLP C API (Development) package.
cp %{SOURCE1001} .
%build
+export CFLAGS=$( echo $CFLAGS | sed -e "s/-flto//g" )
+export CXXFLAGS=$( echo $CXXFLAGS | sed -e "s/-flto//g")
MAJORVER=`echo %{version} | awk 'BEGIN {FS="."}{print $1}'`
%cmake . -DFULLVER=%{version} -DMAJORVER=${MAJORVER}
%__make %{?jobs:-j%jobs}