Change-Id: Iffcece4c6629c0521545a1e841fe1858687befad
Signed-off-by: Seonah Moon <seonah1.moon@samsung.com>
curl_SOURCES = $(CURL_FILES)
# This might hold -Werror
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)
# Prevent LIBS from being used for all link targets
LIBS = $(BLANK_AT_MAKETIME)