forked from mirrors/nixpkgs
f5074933b7
* bintools: disable -pie when -r or -Ur are used ld’s -r allows you to partially link object files. When -pie is passed with -r, though, we get: ld: -r and -pie may not be used together Most build systems are intelligent enough to pass -no-pie before -r, but we might as well support those that don’t. Note: -pie is not enabled by default in Nixpkgs, but it is when you are using musl. So this solution is really only useful for musl toolchains. * bintools-wrapper: Add incremental -i check for pie |
||
---|---|---|
.. | ||
add-darwin-ldflags-before.sh | ||
add-flags.sh | ||
add-hardening.sh | ||
darwin-install_name_tool-wrapper.sh | ||
darwin-strip-wrapper.sh | ||
default.nix | ||
ld-solaris-wrapper.sh | ||
ld-wrapper.sh | ||
macos-sierra-reexport-hack.bash | ||
setup-hook.sh |