summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenis Khalikov <d.khalikov@partner.samsung.com>2016-11-14 13:44:50 +0300
committerDenis Khalikov <d.khalikov@partner.samsung.com>2016-11-14 13:44:50 +0300
commit5befaa99a776e4ffe38de2dde145fc5649b00fc3 (patch)
treee7031d436a221c4900e0826f6dc4c0f489d150fb
parente25ecd379e9ea240ef2491ecfac761ae8a0e2a73 (diff)
downloadmsg-service-sandbox/denis13/LTObuild.tar.gz
msg-service-sandbox/denis13/LTObuild.tar.bz2
msg-service-sandbox/denis13/LTObuild.zip
removed -flto because of error MsgHandlesandbox/denis13/LTObuild
-rwxr-xr-xpackaging/msg-service.spec3
1 files changed, 3 insertions, 0 deletions
diff --git a/packaging/msg-service.spec b/packaging/msg-service.spec
index 05af086..4b772c2 100755
--- a/packaging/msg-service.spec
+++ b/packaging/msg-service.spec
@@ -139,6 +139,9 @@ Description: Message manager application
%setup -q
%build
+CFLAGS=$( echo $CFLAGS | sed -e "s/-flto//g" )
+CXXFLAGS=$( echo $CXXFLAGS | sed -e "s/-flto//g" )
+
cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix} \
-DLIB_INSTALL_DIR=%{_libdir} \
%if "%{?profile}" == "mobile"