X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=src%2FMakefile.am;h=52a68c526fee5f3d244e1332bf973325961bd0c4;hb=bda6f264bdcc6f0d337836cda66fe8251eb6c83f;hp=bfcd877fc1fc7ccfd5f10c4b7d7a36942e9a4144;hpb=cfd75dcdb18d0a4291f48020211c65507a97d9eb;p=platform%2Fupstream%2Fcurl.git diff --git a/src/Makefile.am b/src/Makefile.am index bfcd877..52a68c5 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -55,7 +55,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)