From f18aba641895ccdb3671747393a7701d81d219ca Mon Sep 17 00:00:00 2001 From: Gilbok Lee Date: Tue, 10 Apr 2018 17:18:15 +0900 Subject: [PATCH] Add build option for security issues Change-Id: I161676a559e703c0e556a3050199e92945d5ce48 --- packaging/gstreamer.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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} -- 2.7.4