summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDoHyun Pyun <dh79.pyun@samsung.com>2017-08-14 09:02:49 +0900
committerDoHyun Pyun <dh79.pyun@samsung.com>2017-08-14 09:03:38 +0900
commit2d8884e250435bbe68a1ab33b1c32dd22d139260 (patch)
tree469420859a8f58df992677932b9340bc5382de1e
parent55aca08cbe73ad443102569e8e5c8b44e2a1cc8d (diff)
downloadrfkill-accepted/tizen_unified.tar.gz
rfkill-accepted/tizen_unified.tar.bz2
rfkill-accepted/tizen_unified.zip
Change-Id: I735bccb793cbadb7feab327e9da88f029761238e Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
-rw-r--r--Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 8d6c700..e9bc362 100644
--- a/Makefile
+++ b/Makefile
@@ -9,7 +9,9 @@ INSTALL ?= install
CC ?= "gcc"
CFLAGS ?= -O2 -g
-CFLAGS += -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration
+CFLAGS += -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -fPIE
+
+LDFLAGS += -pie
OBJS = rfkill.o version.o
ALL = rfkill