From: Gilbok Lee Date: Tue, 10 Apr 2018 08:18:15 +0000 (+0900) Subject: Add build option for security issues X-Git-Tag: accepted/tizen/unified/20180420.081803^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f18aba641895ccdb3671747393a7701d81d219ca;p=platform%2Fupstream%2Fgstreamer.git Add build option for security issues Change-Id: I161676a559e703c0e556a3050199e92945d5ce48 --- diff --git a/packaging/gstreamer.spec b/packaging/gstreamer.spec index 005255d..dea1e50 100644 --- a/packaging/gstreamer.spec +++ b/packaging/gstreamer.spec @@ -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}