summaryrefslogtreecommitdiff
path: root/packaging/cmake.spec
diff options
context:
space:
mode:
Diffstat (limited to 'packaging/cmake.spec')
-rw-r--r--packaging/cmake.spec1
1 files changed, 1 insertions, 0 deletions
diff --git a/packaging/cmake.spec b/packaging/cmake.spec
index 9d63dd5ac..34a774729 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 \