mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 16:33:15 +00:00
cc-wrapper: -pie is a ldflag
This commit is contained in:
parent
0cad2e7af1
commit
05a02c53a0
@ -15,7 +15,8 @@ if [[ ! $hardeningDisable == "all" ]]; then
|
||||
hardeningCFlags+=('-fstack-protector-strong')
|
||||
;;
|
||||
pie)
|
||||
hardeningCFlags+=('-fPIE' '-pie')
|
||||
hardeningCFlags+=('-fPIE')
|
||||
hardeningLDFlags+=('-pie')
|
||||
;;
|
||||
pic)
|
||||
hardeningCFlags+=('-fPIC')
|
||||
|
Loading…
Reference in New Issue
Block a user