diff options
author | WooHyun Jung <wh0705.jung@samsung.com> | 2018-01-16 13:38:13 +0900 |
---|---|---|
committer | WooHyun Jung <wh0705.jung@samsung.com> | 2018-01-16 13:39:09 +0900 |
commit | 69299f9ca02ee1aab4900c19b9db407503b8903e (patch) | |
tree | 0fa4d715eefd3b5a596755aa2731749125f7d580 | |
parent | 19cb78df2fe5acb87577e0a109c1b0de26ac17af (diff) | |
download | freetype2-accepted/tizen_4.0_unified.tar.gz freetype2-accepted/tizen_4.0_unified.tar.bz2 freetype2-accepted/tizen_4.0_unified.zip |
fix No-RELRO state to apply armoring featuresubmit/tizen_4.0/20180124.101838accepted/tizen/4.0/unified/20180124.154335tizen_4.0_tvaccepted/tizen_4.0_unified
Change-Id: I97dc7db630fd46bd344b8c59d862c6b22bfd6ae0
-rw-r--r-- | packaging/freetype2.spec | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/packaging/freetype2.spec b/packaging/freetype2.spec index f01d7fb..f08bd04 100644 --- 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 |