Merge branch 'staging' into fix/glibc-libgcc_s

This commit is contained in:
Matthew Bauer
2019-01-22 17:59:49 -05:00
5498 changed files with 168828 additions and 132312 deletions

View File

@@ -187,7 +187,7 @@ stdenv.mkDerivation ({
doCheck = false; # fails
meta = {
homepage = http://www.gnu.org/software/libc/;
homepage = https://www.gnu.org/software/libc/;
description = "The GNU C Library";
longDescription =

View File

@@ -10,6 +10,12 @@ callPackage ./common.nix { inherit stdenv; } {
inherit withLinuxHeaders profilingLibraries installLocales withGd;
# Note:
# Things you write here override, and do not add to,
# the values in `common.nix`.
# (For example, if you define `patches = [...]` here, it will
# override the patches in `common.nix`.)
NIX_NO_SELF_RPATH = true;
postConfigure = ''
@@ -29,7 +35,10 @@ callPackage ./common.nix { inherit stdenv; } {
# The stackprotector and fortify hardening flags are autodetected by glibc
# and enabled by default if supported. Setting it for every gcc invocation
# does not work.
hardeningDisable = [ "stackprotector" "fortify" ];
hardeningDisable = [ "stackprotector" "fortify" ]
# XXX: Not actually musl-speciic but since only musl enables pie by default,
# limit rebuilds by only disabling pie w/musl
++ stdenv.lib.optional stdenv.hostPlatform.isMusl "pie";
postInstall = ''
if test -n "$installLocales"; then