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:
5c3d714
)
Remove -flto
sandbox/denis13/LTO
author
Denis Khalikov
<d.khalikov@partner.samsung.com>
Tue, 14 Feb 2017 16:26:35 +0000
(19:26 +0300)
committer
Denis Khalikov
<d.khalikov@partner.samsung.com>
Tue, 14 Feb 2017 16:26:35 +0000
(19:26 +0300)
packaging/klay.spec
patch
|
blob
|
history
diff --git
a/packaging/klay.spec
b/packaging/klay.spec
index 64cbf890ea0d007538e7fad0f81e7a886b5ce828..e5c15acf45941eeebdba78ec5e47072e67f47c17 100755
(executable)
--- a/
packaging/klay.spec
+++ b/
packaging/klay.spec
@@
-35,6
+35,9
@@
which can be used for many servers and clients
CXXFLAGS="$CXXFLAGS -Wp,-U_FORTIFY_SOURCE"
%endif
+export CFLAGS=$( echo $CFLAGS | sed -e "s/-flto//g")
+export CXXFLAGS=$( echo $CXXFLAGS | sed -e "s/-flto//g")
+
%cmake . -DVERSION=%{version} \
-DCMAKE_BUILD_TYPE=%{build_type} \
-DTEST_DATA_INSTALL_DIR=%{TZ_SYS_DATA}/klay-test \