stdenv: Fix regression on ARM+static when enabling hardening (#115363)
wip/yesman4e9dc46dea
re-enabled hardening for Musl, which is good. Though static builds for ARM fail in various ways - cross armv7l static does not build - cross aarch64 static produces segfaulting dynamically linked binaries - native aarch64 static also produces segfaulting dynamically linked binaries It seems that for native x86_64-linux, static builds are fine though. This works around the issue by removing PIE from the hardening flags, keeping all other hardening flags. This is an improvement (I think) from before4e9dc46d
. Fixes #114953
parent
924b214e05
commit
76552e95cc
Loading…
Reference in new issue