cc-wrapper: -pie is a ldflag
This commit is contained in:
@@ -15,7 +15,8 @@ if [[ ! $hardeningDisable == "all" ]]; then
|
|||||||
hardeningCFlags+=('-fstack-protector-strong')
|
hardeningCFlags+=('-fstack-protector-strong')
|
||||||
;;
|
;;
|
||||||
pie)
|
pie)
|
||||||
hardeningCFlags+=('-fPIE' '-pie')
|
hardeningCFlags+=('-fPIE')
|
||||||
|
hardeningLDFlags+=('-pie')
|
||||||
;;
|
;;
|
||||||
pic)
|
pic)
|
||||||
hardeningCFlags+=('-fPIC')
|
hardeningCFlags+=('-fPIC')
|
||||||
|
|||||||
Reference in New Issue
Block a user