Apply ASLR compiler option (fPIE, pie) 64/41764/1
authorWonkeun Oh <wonkeun.oh@samsung.com>
Wed, 3 Jun 2015 09:57:52 +0000 (18:57 +0900)
committerLi Zhang <li2012.zhang@samsung.com>
Wed, 17 Jun 2015 09:40:42 +0000 (17:40 +0800)
Change-Id: I873ce681c5c3f7e6be3e10fe2928d8124131ccab

ism/extras/kbd_mode_changer/Makefile.am

index 83c9453..9765fc8 100644 (file)
@@ -32,10 +32,12 @@ isf_kbd_mode_changer_SOURCES  = main.cpp
 
 isf_kbd_mode_changer_CXXFLAGS = @EFL_CFLAGS@ \
                                 @DLOG_CFLAGS@ \
-                                @APPFW_CFLAGS@
+                                @APPFW_CFLAGS@ \
+                                -fPIE
 
 isf_kbd_mode_changer_LDFLAGS  = @EFL_LIBS@ -rpath $(libdir)\
                                 @DLOG_LIBS@ \
-                                @APPFW_LIBS@
+                                @APPFW_LIBS@ \
+                                -pie
 
 isf_kbd_mode_changer_LDADD    = $(top_builddir)/ism/src/libscim@SCIM_EPOCH@.la