summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjin-gyu.kim <jin-gyu.kim@samsung.com>2017-07-24 08:26:09 (GMT)
committerjin-gyu.kim <jin-gyu.kim@samsung.com>2017-07-24 08:27:24 (GMT)
commit4818d5bfad4de3119c5e259c54a6baedd9cf5cd1 (patch)
tree7ce938a4c20cc0166ea202af44ee598b24e8f831
parentefac36e39e9c65ebf2a11545b6fe9a2e0185d5e8 (diff)
downloadlibcap-4818d5bfad4de3119c5e259c54a6baedd9cf5cd1.zip
libcap-4818d5bfad4de3119c5e259c54a6baedd9cf5cd1.tar.gz
libcap-4818d5bfad4de3119c5e259c54a6baedd9cf5cd1.tar.bz2
Apply ASLR on utilsrefs/changes/60/140260/1
Change-Id: I2b5538507d39cc88f2570ff696f0205b12fd8b72
-rw-r--r--progs/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/progs/Makefile b/progs/Makefile
index ef51dc6..6a0d8ad 100644
--- a/progs/Makefile
+++ b/progs/Makefile
@@ -15,6 +15,8 @@ ifneq ($(DYNAMIC),yes)
LDFLAGS += --static
endif
LDLIBS += -L../libcap -lcap
+CFLAGS += -fPIE
+LDFLAGS += -pie
all: $(BUILD)