Description: Enabled stack protector, relro, PIE,
fortify source and other flags
Change-Id: I2e569da65cec7120f8ed250a06808f5efb408eb9
Signed-off-by: Abhishek Sansanwal <abhishek.s94@samsung.com>
%build
export CPPFLAGS="-DHAVE_PK11_CREATEGENERICOBJECT"
%build
export CPPFLAGS="-DHAVE_PK11_CREATEGENERICOBJECT"
+CFLAGS+=" -fstack-protector-strong -Wl,-z,relro -D_FORTIFY_SOURCE=2 -fPIE -pie"
%if "%{TIZEN_PROFILE_TV}" == "1"
CFLAGS+=" -DTIZEN_TV_EXT"
%reconfigure --without-nss --without-gnutls --with-openssl --disable-ipv6 \
%if "%{TIZEN_PROFILE_TV}" == "1"
CFLAGS+=" -DTIZEN_TV_EXT"
%reconfigure --without-nss --without-gnutls --with-openssl --disable-ipv6 \