Apply fPIE, pie compiler option in isf-demo-efl 70/34070/1
authorJihoon Kim <jihoon48.kim@samsung.com>
Thu, 27 Nov 2014 02:18:59 +0000 (11:18 +0900)
committerLi Zhang <li2012.zhang@samsung.com>
Wed, 21 Jan 2015 03:39:09 +0000 (11:39 +0800)
[model] All
[binary_type] PDA
[customer] OPEN
[issue#] N/A
[problem] need to apply Address space layout randomization
[cause] no fPIE option
[solution] Apply fPIE and pie compiler option
[team] Input Framework
[request] N/A
[horizontal_expansion] N/A

Change-Id: I0f1aee225316e9841d4fc40eeeae073ce4399e6f

ism/demos/Makefile.am

index 6adb692..74d02ab 100644 (file)
@@ -48,7 +48,8 @@ isf_demo_efl_CXXFLAGS = @EFL_CFLAGS@ \
                         @UIGADGET_CFLAGS@ \
                         @VCONF_CFLAGS@ \
                         @PRIVILEGE_CONTROL_CFLAGS@ \
-                        @EFL_ASSIST_CFLAGS@
+                        @EFL_ASSIST_CFLAGS@ \
+                        -fPIE
 
 isf_demo_efl_LDFLAGS  = @EFL_LIBS@ @LTLIBINTL@ -rpath $(libdir) \
                         @ECOREX_LIBS@ \
@@ -56,6 +57,7 @@ isf_demo_efl_LDFLAGS  = @EFL_LIBS@ @LTLIBINTL@ -rpath $(libdir) \
                         @APPCORE_EFL_LIBS@ \
                         @UIGADGET_LIBS@ \
                         @PRIVILEGE_CONTROL_LIBS@ \
-                        @EFL_ASSIST_LIBS@
+                        @EFL_ASSIST_LIBS@ \
+                        -pie
 
 isf_demo_efl_LDADD    = $(top_builddir)/ism/src/libscim@SCIM_EPOCH@.la