configure: Enable pie for toolchain=hardened.

This commit is contained in:
Carl Eugen Hoyos 2016-10-04 12:21:41 +02:00
parent 7845c13881
commit a2c5f5aacf
1 changed files with 2 additions and 0 deletions

2
configure vendored
View File

@ -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"