summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenis Khalikov <d.khalikov@partner.samsung.com>2017-03-06 12:00:42 +0300
committerDenis Khalikov <d.khalikov@partner.samsung.com>2017-03-06 12:00:42 +0300
commit54ef413175199a698e042df2e840146858352ed0 (patch)
treeb3e4cf1f7bc76d9008517236c2d3e742b692eb92
parentd4672b6edbffa725db2cb4c73d5107770c939a29 (diff)
downloadbrowser-sandbox/denis13/LTO.tar.gz
browser-sandbox/denis13/LTO.tar.bz2
browser-sandbox/denis13/LTO.zip
-rwxr-xr-xpackaging/org.tizen.browser.spec3
1 files changed, 3 insertions, 0 deletions
diff --git a/packaging/org.tizen.browser.spec b/packaging/org.tizen.browser.spec
index 79868bb..c3af696 100755
--- a/packaging/org.tizen.browser.spec
+++ b/packaging/org.tizen.browser.spec
@@ -87,6 +87,9 @@ WebKit browser with EFL for Tizen TV Platform.
mkdir -p %{_build_dir}
cd %{_build_dir}
+
+export CFLAGS=$( echo $CFLAGS | sed -e "s/-flto//g")
+export CXXFLAGS=$( echo $CXXFLAGS | sed -e "s/-flto//g")
export CFLAGS="$(echo $CFLAGS | sed 's/-Wl,--as-needed//g')"
export CXXFLAGS="$(echo $CXXFLAGS | sed 's/-Wl,--as-needed//g')"
export FFLAGS="$(echo $FFLAGS | sed 's/-Wl,--as-needed//g')"