Add the PIE option for the excutable binary 03/143903/1 accepted/tizen_4.0_unified accepted/tizen_5.0_unified accepted/tizen_5.5_unified accepted/tizen_5.5_unified_mobile_hotfix accepted/tizen_5.5_unified_wearable_hotfix accepted/tizen_unified tizen tizen_4.0 tizen_5.0 tizen_5.5 tizen_5.5_mobile_hotfix tizen_5.5_tv tizen_5.5_wearable_hotfix accepted/tizen/4.0/unified/20170828.221642 accepted/tizen/5.0/unified/20181102.030002 accepted/tizen/5.5/unified/20191031.013217 accepted/tizen/5.5/unified/mobile/hotfix/20201027.072131 accepted/tizen/5.5/unified/wearable/hotfix/20201027.104712 accepted/tizen/unified/20170814.060206 submit/tizen/20170814.000409 submit/tizen_4.0/20170828.100007 submit/tizen_5.0/20181101.000008 submit/tizen_5.5/20191031.000008 submit/tizen_5.5_mobile_hotfix/20201026.185108 submit/tizen_5.5_wearable_hotfix/20201026.184308 tizen_4.0.IoT.p1_release tizen_4.0.IoT.p2_release tizen_4.0.m2_release tizen_5.5.m2_release
authorDoHyun Pyun <dh79.pyun@samsung.com>
Mon, 14 Aug 2017 00:02:49 +0000 (09:02 +0900)
committerDoHyun Pyun <dh79.pyun@samsung.com>
Mon, 14 Aug 2017 00:03:38 +0000 (09:03 +0900)
Change-Id: I735bccb793cbadb7feab327e9da88f029761238e
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
Makefile

index 8d6c700..e9bc362 100644 (file)
--- 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