Add relro option 61/197161/1 accepted/tizen_5.0_unified tizen_5.0 accepted/tizen/5.0/unified/20190115.173224 submit/tizen_5.0/20190110.052622 submit/tizen_5.0/20190115.044846
authorhuiyu.eun <huiyu.eun@samsung.com>
Thu, 10 Jan 2019 04:34:08 +0000 (13:34 +0900)
committerhuiyu.eun <huiyu.eun@samsung.com>
Thu, 10 Jan 2019 04:47:32 +0000 (13:47 +0900)
Change-Id: I58e38213460207dac527f23f397c30a47ac05312
Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
packaging/widget-viewer-dali.spec

index 622dda6d404b1d81cfcdc720271272a87c906486..5758936f9f987cfe07245c6c761577a84b3c039b 100644 (file)
@@ -55,7 +55,7 @@ Header and package configuration files for the widget viewer development
 %build
 PREFIX="/usr"
 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"
+LDFLAGS+=" -Wl,--rpath=$PREFIX/lib -Wl,--as-needed -pie -Wl,-z,relro,-z,now"
 
 %ifarch %{arm}
 CXXFLAGS+=" -D_ARCH_ARM_"