gst-stats: Add -fPIE -pie build option in gst-stats 62/173562/2 accepted/tizen/unified/20180327.055810 submit/tizen/20180323.043217
authorGilbok Lee <gilbok.lee@samsung.com>
Thu, 22 Mar 2018 08:33:07 +0000 (17:33 +0900)
committerGilbok Lee <gilbok.lee@samsung.com>
Thu, 22 Mar 2018 08:33:25 +0000 (17:33 +0900)
Apply ASLR

Change-Id: If97bacd6fe4c8eef19a8f390e41c3039af6dc9c0

tools/Makefile.am

index 30df5d2..7fc3da1 100644 (file)
@@ -10,8 +10,9 @@ gst_inspect_@GST_API_VERSION@_LDADD = $(GST_OBJ_LIBS)
 gst_inspect_@GST_API_VERSION@_LDFLAGS = -pie
 
 gst_stats_@GST_API_VERSION@_SOURCES = gst-stats.c tools.h
-gst_stats_@GST_API_VERSION@_CFLAGS = $(GST_OBJ_CFLAGS)
+gst_stats_@GST_API_VERSION@_CFLAGS = $(GST_OBJ_CFLAGS) -fPIE
 gst_stats_@GST_API_VERSION@_LDADD = $(GST_OBJ_LIBS)
+gst_stats_@GST_API_VERSION@_LDFLAGS = -pie
 
 gst_typefind_@GST_API_VERSION@_SOURCES = gst-typefind.c tools.h
 gst_typefind_@GST_API_VERSION@_CFLAGS = $(GST_OBJ_CFLAGS) -fPIE