projects
/
platform
/
core
/
security
/
klay.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3591e0b
)
removed -flto
sandbox/denis13/NoLTO
author
Denis Khalikov
<d.khalikov@partner.samsung.com>
Thu, 15 Dec 2016 17:09:38 +0000
(20:09 +0300)
committer
Denis Khalikov
<d.khalikov@partner.samsung.com>
Fri, 10 Feb 2017 08:25:54 +0000
(11:25 +0300)
packaging/klay.spec
patch
|
blob
|
history
diff --git
a/packaging/klay.spec
b/packaging/klay.spec
index 64cbf890ea0d007538e7fad0f81e7a886b5ce828..5f016b560b97661124402dcb3306482928f65d78 100755
(executable)
--- a/
packaging/klay.spec
+++ b/
packaging/klay.spec
@@
-34,6
+34,8
@@
which can be used for many servers and clients
CFLAGS="$CFLAGS -Wp,-U_FORTIFY_SOURCE"
CXXFLAGS="$CXXFLAGS -Wp,-U_FORTIFY_SOURCE"
%endif
+CFLAGS=$( echo $CFLAGS | sed -e "s/-flto//g")
+CXXFLAGS=$( echo $CXXFLAGS | sed -e "s/-flto//g")
%cmake . -DVERSION=%{version} \
-DCMAKE_BUILD_TYPE=%{build_type} \