summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenis Khalikov <d.khalikov@partner.samsung.com>2016-11-30 12:50:35 +0300
committerDenis Khalikov <d.khalikov@partner.samsung.com>2016-11-30 12:50:35 +0300
commit5e35053ff91bb1a0dcd48e88d0b33e8e96431724 (patch)
tree4d06ee0512a294062ffc09e51990cc4ee4f2dfa7
parentd7ceb7a92fa6bdb7cdb296dba1791ffd30657c4b (diff)
downloadresourced-sandbox/denis13/LTO.tar.gz
resourced-sandbox/denis13/LTO.tar.bz2
resourced-sandbox/denis13/LTO.zip
removed -flto to reduce sizesandbox/denis13/LTO
-rw-r--r--packaging/resourced.spec2
1 files changed, 2 insertions, 0 deletions
diff --git a/packaging/resourced.spec b/packaging/resourced.spec
index ed65a34c..6b4e230b 100644
--- a/packaging/resourced.spec
+++ b/packaging/resourced.spec
@@ -101,6 +101,8 @@ echo "\
#define MAJOR_VERSION ${MAJORVER}
#define PATCH_VERSION ${PATCHVER}" > src/common/version.h
+export CFLAGS=$( echo $CFLAGS | sed -e "s/-flto//g" )
+export CXXFLAGS=$( echo $CXXFLAGS | sed -e "s/-flto//g" )
export CFLAGS="$CFLAGS -DTIZEN_DEBUG_ENABLE"
export CXXFLAGS="$CXXFLAGS -DTIZEN_DEBUG_ENABLE"
export FFLAGS="$FFLAGS -DTIZEN_DEBUG_ENABLE"