Add build option for security issues
authorGilbok Lee <gilbok.lee@samsung.com>
Tue, 10 Apr 2018 08:18:48 +0000 (17:18 +0900)
committerGilbok Lee <gilbok.lee@samsung.com>
Tue, 10 Apr 2018 08:18:48 +0000 (17:18 +0900)
Change-Id: I55e0bc2001285acfd803169a5b69e54c43db7e9d

packaging/gst-plugins-good.spec

index 6504b27..fd6aed1 100644 (file)
@@ -81,7 +81,10 @@ export CFLAGS+=" -DTIZEN_FEATURE_V4L2SRC_SCAN_DEVICE_NODE\
                -DTIZEN_FEATURE_GST_MUX_ENHANCEMENT\
                -DTIZEN_FEATURE_SOUP_MODIFICATION\
                -DTIZEN_FEATURE_RGVOLUME_MODIFICATION\
-               -DTIZEN_FEATURE_BASEPARSE_MODIFICATION"
+               -DTIZEN_FEATURE_BASEPARSE_MODIFICATION\
+               -fstack-protector-strong\
+               -Wl,-z,relro\
+               -D_FORTIFY_SOURCE=2"
 %configure\
 %if ! 0%{?ENABLE_AALIB}
        --disable-aalib\