at_spi2_tool: Apply ASLR to executable files. 56/143756/1 accepted/tizen/4.0/unified/20170828.222518 accepted/tizen/unified/20170821.051106 submit/tizen/20170816.060215 submit/tizen_4.0/20170828.100005
authorBowon Ryu <bowon.ryu@samsung.com>
Fri, 11 Aug 2017 07:10:56 +0000 (16:10 +0900)
committerBowon Ryu <bowon.ryu@samsung.com>
Fri, 11 Aug 2017 07:11:47 +0000 (16:11 +0900)
Change-Id: I86b9dd51723548d1b888eed7847668ca9e318110
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
test/Makefile.am

index 828f126..bb9acb9 100644 (file)
@@ -3,8 +3,8 @@ LDADD = $(top_builddir)/atspi/libatspi.la
 bin_PROGRAMS = at_spi2_tool
 at_spi2_tool_SOURCES = at_spi2_tool.c
 at_spi2_tool_CPPFLAGS = -I$(top_srcdir) -I$(top_builddir) -I$(top_builddir)/atspi
-at_spi2_tool_CFLAGS = $(GIO_CFLAGS) $(GLIB_CFLAGS) --std=c99 -Wall $(GOBJ_LIBS) $(DBUS_CFLAGS)
-at_spi2_tool_LDFLAGS = $(GIO_LIBS)
+at_spi2_tool_CFLAGS = $(GIO_CFLAGS) $(GLIB_CFLAGS) --std=c99 -Wall -fPIE $(GOBJ_LIBS) $(DBUS_CFLAGS)
+at_spi2_tool_LDFLAGS = $(GIO_LIBS) -pie
 
 
 noinst_PROGRAMS = memory