summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenis Khalikov <d.khalikov@partner.samsung.com>2016-10-24 10:52:12 (GMT)
committerDenis Khalikov <d.khalikov@partner.samsung.com>2016-10-24 10:52:12 (GMT)
commit3d851d7dc8ebd09c0c5ac76dd50822a83ec21b71 (patch)
tree319e8e84f0536bf0cfb5480f4500fa2898ce231b
parent8f57854a0c003ff2d4c278b47d13f8ef6feb6bbc (diff)
downloadcmake-sandbox/denis13/NoLTO.zip
cmake-sandbox/denis13/NoLTO.tar.gz
cmake-sandbox/denis13/NoLTO.tar.bz2
remove -flto flagsandbox/denis13/NoLTO
-rw-r--r--packaging/cmake.spec1
1 files changed, 1 insertions, 0 deletions
diff --git a/packaging/cmake.spec b/packaging/cmake.spec
index 9d63dd5..34a7747 100644
--- a/packaging/cmake.spec
+++ b/packaging/cmake.spec
@@ -31,6 +31,7 @@ template instantiation.
cp %{SOURCE1001} .
%build
+RPM_OPT_FLAGS=$( echo $RPM_OPT_FLAGS | sed -e "s/-flto//g" )
export CXXFLAGS="$RPM_OPT_FLAGS"
export CFLAGS="$CXXFLAGS"
./configure \