projects
/
platform
/
core
/
system
/
swap-probe.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5f1cd04
)
packaging: add support option for -fstack-protector-strong
81/225581/1
accepted/tizen/unified/20200312.131139
accepted/tizen/unified/20200316.221029
submit/tizen/20200311.102726
submit/tizen/20200316.025918
author
Dongkyun Son
<dongkyun.s@samsung.com>
Fri, 21 Feb 2020 05:38:48 +0000
(14:38 +0900)
committer
Dongkyun Son
<dongkyun.s@samsung.com>
Fri, 21 Feb 2020 05:38:48 +0000
(14:38 +0900)
Change-Id: I9bc4bf027e5cb2ae8a20740691782fd21b16c169
Signed-off-by: Dongkyun Son <dongkyun.s@samsung.com>
packaging/swap-probe.spec
patch
|
blob
|
history
diff --git
a/packaging/swap-probe.spec
b/packaging/swap-probe.spec
index
23bc197
..
77b255a
100644
(file)
--- a/
packaging/swap-probe.spec
+++ b/
packaging/swap-probe.spec
@@
-121,6
+121,12
@@
This tool will be installed in target
%build
+%ifarch %ix86
+RPM_OPT_FLAGS="$(echo $RPM_OPT_FLAGS | sed 's/-fstack-protector-strong/-fstack-protector/g')"
+export CFLAGS="$RPM_OPT_FLAGS"
+export CXXFLAGS="$RPM_OPT_FLAGS"
+%endif
+
pushd scripts
echo "__tizen_product_tv__="%{?TIZEN_PRODUCT_TV} >> dyn_vars
popd