nixpkgs/pkgs
Matthew Bauer 6d531f3541 make-derivation: enable pie hardening with musl
Fixes #49071

On ld.gold, we produce broken executables when linking with the Musl
libc. This appears to be a known bug when using ld.gold and Musl. This
thread describes the workaround as enabling PIE when using ld.gold and
Musl:

https://www.openwall.com/lists/musl/2015/05/01/5

By default we don’t enable PIE to avoid breaking things. But in the
Musl case we are breaking things by not enabling PIE. So this adds a
special case for defaultHardeningFlags which keeps the pie hardening
for everything. Any packages that break with PIE can add the pie flag
to disableHardeningFlags array (a no-op for now on anything but Musl).
2018-11-07 15:24:51 +01:00
..
applications gimp: get rid of compiler from the runtime closure 2018-11-07 15:21:21 +01:00
build-support buildDunePackage: inline dune.installPhase for easier overriding 2018-11-07 10:08:08 +01:00
common-updater
data ibm-plex: 1.1.6 -> 1.2.1 2018-11-03 20:39:10 -05:00
desktops Merge pull request #48047 from thefloweringash/fix-mutter-crash 2018-11-04 13:47:16 +01:00
development Merge pull request #49591 from peterhoeg/p/snap 2018-11-07 14:10:35 +01:00
games dwarf-fortress: fix most of customization options 2018-11-06 01:00:17 +01:00
misc vim-plugins: vim-go: add missing binaries gocode, gocode-mod and the go-tools 2018-11-05 22:14:10 -08:00
os-specific fuse3: 3.2.6 -> 3.3.0 2018-11-07 14:45:27 +01:00
servers Merge pull request #49591 from peterhoeg/p/snap 2018-11-07 14:10:35 +01:00
shells
stdenv make-derivation: enable pie hardening with musl 2018-11-07 15:24:51 +01:00
test
tools Merge pull request #49684 from Zimmi48/dune-package 2018-11-07 13:01:09 +00:00
top-level Merge pull request #49591 from peterhoeg/p/snap 2018-11-07 14:10:35 +01:00