diff options
author | Denis Khalikov <d.khalikov@partner.samsung.com> | 2017-03-06 11:37:12 +0300 |
---|---|---|
committer | Denis Khalikov <d.khalikov@partner.samsung.com> | 2017-03-06 11:37:12 +0300 |
commit | 4c0ce8f20d8f025abd690c8b37c74f8e5a76657d (patch) | |
tree | e5f8bf3ecbec846b3e8880f3acbb5e92712c53db | |
parent | 2ef46aa08c82484d346a379363ab4fdfb85b2818 (diff) | |
download | browser-sandbox/denis13/LTOgcc6x.tar.gz browser-sandbox/denis13/LTOgcc6x.tar.bz2 browser-sandbox/denis13/LTOgcc6x.zip |
Remove -flto flagsandbox/denis13/LTOgcc6x
-rwxr-xr-x | packaging/org.tizen.browser.spec | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/packaging/org.tizen.browser.spec b/packaging/org.tizen.browser.spec index 63f053f..b98e0bb 100755 --- a/packaging/org.tizen.browser.spec +++ b/packaging/org.tizen.browser.spec @@ -92,6 +92,8 @@ 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')" +export CFLAGS=$( echo $CFLAGS | sed -e "s/-flto//g") +export CXXFLAGS=$( echo $CXXFLAGS | sed -e "s/-flto//g") cmake .. \ -DCMAKE_BUILD_TYPE=%{?build_type}%{!?build_type:RELEASE} \ -DCMAKE_INSTALL_PREFIX=%{_appdir} \ |