cc-wrapper: -pie is a ldflag

This commit is contained in:
Franz Pletz 2016-03-06 00:14:55 +01:00
parent 0cad2e7af1
commit 05a02c53a0

View File

@ -15,7 +15,8 @@ if [[ ! $hardeningDisable == "all" ]]; then
hardeningCFlags+=('-fstack-protector-strong')
;;
pie)
hardeningCFlags+=('-fPIE' '-pie')
hardeningCFlags+=('-fPIE')
hardeningLDFlags+=('-pie')
;;
pic)
hardeningCFlags+=('-fPIC')