projects
/
platform
/
upstream
/
curl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e9e38b0
)
Apply ASLR to curl command tool
00/143300/2
accepted/tizen/4.0/unified/20170828.222541
accepted/tizen/unified/20170814.060102
submit/tizen/20170811.040030
submit/tizen_4.0/20170828.100005
author
Seonah Moon
<seonah1.moon@samsung.com>
Wed, 9 Aug 2017 08:19:56 +0000
(17:19 +0900)
committer
Seonah Moon
<seonah1.moon@samsung.com>
Wed, 9 Aug 2017 08:22:08 +0000
(17:22 +0900)
Change-Id: Iffcece4c6629c0521545a1e841fe1858687befad
Signed-off-by: Seonah Moon <seonah1.moon@samsung.com>
src/Makefile.am
patch
|
blob
|
history
diff --git
a/src/Makefile.am
b/src/Makefile.am
index
19bab68
..
fb97da2
100644
(file)
--- a/
src/Makefile.am
+++ b/
src/Makefile.am
@@
-57,7
+57,9
@@
include Makefile.inc
curl_SOURCES = $(CURL_FILES)
# This might hold -Werror
-CFLAGS += @CURL_CFLAG_EXTRAS@
+# Enable Position Independent Executable flag
+CFLAGS += @CURL_CFLAG_EXTRAS@ -fPIE
+LDFLAGS += -pie
# Prevent LIBS from being used for all link targets
LIBS = $(BLANK_AT_MAKETIME)