Add build option for security issues 42/175442/1 accepted/tizen/unified/20180420.081813 submit/tizen/20180419.035601
authorGilbok Lee <gilbok.lee@samsung.com>
Tue, 10 Apr 2018 08:18:28 +0000 (17:18 +0900)
committerGilbok Lee <gilbok.lee@samsung.com>
Tue, 10 Apr 2018 08:18:28 +0000 (17:18 +0900)
Change-Id: I946ad6e6f90bc54d815e9c0e9dcdaf4b181edaf7

packaging/gst-plugins-base.spec

index 1728f37..9f5385a 100644 (file)
@@ -95,6 +95,9 @@ export CFLAGS="%{optflags} -fno-strict-aliasing\
  -DTIZEN_PROFILE_TV\
  -DTIZEN_FEATURE_TRUSTZONE\
 %endif
+ -fstack-protector-strong\
+ -Wl,-z,relro\
+ -D_FORTIFY_SOURCE=2\
  "
 %configure\
         --disable-static\