projects
/
platform
/
core
/
uifw
/
widget-viewer-dali.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
72332c9
)
Add compile option for file secure
42/197142/1
tizen_4.0
submit/tizen_4.0/20190110.015301
author
Sunghyun kim
<scholb.kim@samsung.com>
Wed, 9 Jan 2019 04:11:09 +0000
(13:11 +0900)
committer
Sunghyun kim
<scholb.kim@samsung.com>
Thu, 10 Jan 2019 01:29:50 +0000
(10:29 +0900)
- 'NO RELRO /' need to compile option
- please see
DF181210
-01712
Change-Id: I93033dd847d0d97ae76db5d02fc5add79d4a329a
packaging/widget-viewer-dali.spec
patch
|
blob
|
history
diff --git
a/packaging/widget-viewer-dali.spec
b/packaging/widget-viewer-dali.spec
index 0824b4ffe7ba683d4172ebe5a80f9f495525e7e8..724ac58aeceeb41b04c9a373fb9ece4a3d558f0a 100644
(file)
--- a/
packaging/widget-viewer-dali.spec
+++ b/
packaging/widget-viewer-dali.spec
@@
-48,8
+48,8
@@
Header and package configuration files for the widget viewer development
##############################
%build
PREFIX="/usr"
-CXXFLAGS+=" -Wall -g -O2"
-LDFLAGS+=" -Wl,--rpath=$PREFIX/lib -Wl,--as-needed"
+CXXFLAGS+=" -Wall -g -O2
-fPIE -Wl,-z,relro,-z,now -fstack-protector-strong -D_FORTIFY_SOURCE=2
"
+LDFLAGS+=" -Wl,--rpath=$PREFIX/lib -Wl,--as-needed
-pie
"
%ifarch %{arm}
CXXFLAGS+=" -D_ARCH_ARM_"