projects
/
platform
/
upstream
/
freetype2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
19cb78d
)
fix No-RELRO state to apply armoring feature
57/167757/1
accepted/tizen/unified/20180202.115342
submit/tizen/20180124.103314
submit/tizen/20180201.104642
author
WooHyun Jung
<wh0705.jung@samsung.com>
Tue, 16 Jan 2018 04:38:13 +0000
(13:38 +0900)
committer
WooHyun Jung
<wh0705.jung@samsung.com>
Mon, 22 Jan 2018 00:56:06 +0000
(09:56 +0900)
Change-Id: I97dc7db630fd46bd344b8c59d862c6b22bfd6ae0
packaging/freetype2.spec
patch
|
blob
|
history
diff --git
a/packaging/freetype2.spec
b/packaging/freetype2.spec
index
f01d7fb
..
f08bd04
100644
(file)
--- a/
packaging/freetype2.spec
+++ b/
packaging/freetype2.spec
@@
-50,6
+50,8
@@
FreeType.
%build
cp %{SOURCE1001} .
+export CFLAGS+=" -fstack-protector-strong -D_FORTIFY_SOURCE=2"
+export LDFLAGS+=" -Wl,-z,relro"
%configure --disable-static
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' builds/unix/libtool