Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Eugen Hoyos <cehoyos@ag.or.at>2016-10-04 13:21:41 +0300
committerCarl Eugen Hoyos <cehoyos@ag.or.at>2016-10-14 15:56:40 +0300
commita2c5f5aacf9d1e53602864cde21ab3c8b730a617 (patch)
treeea6a71bacb291bc4fec66f7ba9f308c8231f0140 /configure
parent7845c13881979494db766f67ca9a0cd1fbe1f0fa (diff)
configure: Enable pie for toolchain=hardened.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 2 insertions, 0 deletions
diff --git a/configure b/configure
index 8db46c5f9a..96f575f066 100755
--- a/configure
+++ b/configure
@@ -3575,6 +3575,8 @@ case "$toolchain" in
add_cppflags -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2
add_cflags -fno-strict-overflow -fstack-protector-all
add_ldflags -Wl,-z,relro -Wl,-z,now
+ add_cflags -fPIE
+ add_ldexeflags -fPIE -pie
;;
?*)
die "Unknown toolchain $toolchain"