Enable ASLR feature 59/254159/1
authorINSUN PYO <insun.pyo@samsung.com>
Wed, 24 Feb 2021 07:19:38 +0000 (16:19 +0900)
committerINSUN PYO <insun.pyo@samsung.com>
Wed, 24 Feb 2021 07:19:53 +0000 (16:19 +0900)
Change-Id: I9f31588cf537449a815334b55ecb487ea875f035

Makefile.am

index de0d2a2..a5ccaa8 100644 (file)
@@ -12,8 +12,8 @@ AM_CPPFLAGS = \
         -DPREFIX=\""$(prefix)"\"                \
         -DSYSCONFDIR=\""$(sysconfdir)"\"        \
         -DVERSION=\""$(VERSION)"\"
-AM_CFLAGS = -Wall
-AM_LDFLAGS =
+AM_CFLAGS = -Wall -fPIE
+AM_LDFLAGS = -pie
 
 LDADD = $(LTLIBINTL) -lm