Add build option for security issues 41/175441/1 accepted/tizen/unified/20180420.081803 submit/tizen/20180419.035601 submit/tizen/20180424.090828
authorGilbok Lee <gilbok.lee@samsung.com>
Tue, 10 Apr 2018 08:18:15 +0000 (17:18 +0900)
committerGilbok Lee <gilbok.lee@samsung.com>
Tue, 10 Apr 2018 08:18:15 +0000 (17:18 +0900)
Change-Id: I161676a559e703c0e556a3050199e92945d5ce48

packaging/gstreamer.spec

index 005255d..dea1e50 100644 (file)
@@ -78,7 +78,10 @@ export CFLAGS="%{optflags} \
        -DTIZEN_FEATURE_TRUSTZONE\
 %endif
        -DTIZEN_FEATURE_RTSPSRC_MODIFICATION\
-       -fno-strict-aliasing"
+       -fno-strict-aliasing\
+       -fstack-protector-strong\
+       -Wl,-z,relro\
+       -D_FORTIFY_SOURCE=2"
 
 %configure\
 %if %{with introspection}