Revert "glibc: fix cross compilation build failure"

This reverts commit 51014768d2.
This commit is contained in:
Florian Klink
2020-01-11 21:53:02 +01:00
parent 5e51524293
commit cd827f2209
3 changed files with 0 additions and 38 deletions
@@ -54,11 +54,6 @@ callPackage ./common.nix { inherit stdenv; } {
# Fix -Werror build failure when building glibc with musl with GCC >= 8, see:
# https://github.com/NixOS/nixpkgs/pull/68244#issuecomment-544307798
(stdenv.lib.optional stdenv.hostPlatform.isMusl "-Wno-error=attribute-alias")
(stdenv.lib.optionals (stdenv.hostPlatform != stdenv.buildPlatform) [
# Ignore "error: '__EI___errno_location' specifies less restrictive attributes than its target '__errno_location'"
# New warning as of GCC 9
"-Wno-error=missing-attributes"
])
]);
# When building glibc from bootstrap-tools, we need libgcc_s at RPATH for