summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcheoleun moon <chleun.moon@samsung.com>2022-10-12 17:07:58 +0900
committercheoleun moon <chleun.moon@samsung.com>2022-10-12 17:08:03 +0900
commitba73b896da55452c959ebe992427d84e6c7aae33 (patch)
tree37efd70b73ec422c936768d8f04f75570d0cd386
parentb607d212678ae5e690162598706cbcd089bb29e5 (diff)
downloadiw-tizen_9.0.tar.gz
iw-tizen_9.0.tar.bz2
iw-tizen_9.0.zip
Change-Id: I180161853acdba8add93033174ba7d7641057fc0
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 8bd5457..44e863b 100644
--- a/Makefile
+++ b/Makefile
@@ -18,6 +18,9 @@ CFLAGS += -Wall -Wextra -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-a
CFLAGS += -Werror-implicit-function-declaration -Wsign-compare -Wno-unused-parameter
CFLAGS += -Wdeclaration-after-statement
CFLAGS += $(CFLAGS_EVAL)
+CFLAGS += -fPIE
+
+LDFLAGS += -pie
_OBJS := $(sort $(patsubst %.c,%.o,$(wildcard *.c)))
VERSION_OBJS := $(filter-out version.o, $(_OBJS))