glibc: Remove hack around long-fixed bug

https://sourceware.org/bugzilla/show_bug.cgi?id=411 was solved in 2012.
This commit is contained in:
John Ericson 2017-04-25 20:25:49 -04:00
parent 9f0de9522f
commit 8328e3d3a6

View File

@ -120,14 +120,6 @@ stdenv.mkDerivation ({
# prevent a retained dependency on the bootstrap tools in the stdenv-linux
# bootstrap.
BASH_SHELL = "/bin/sh";
# Workaround for this bug:
# http://sourceware.org/bugzilla/show_bug.cgi?id=411
# I.e. when gcc is compiled with --with-arch=i686, then the
# preprocessor symbol `__i686' will be defined to `1'. This causes
# the symbol __i686.get_pc_thunk.dx to be mangled.
NIX_CFLAGS_COMPILE = lib.optionalString (stdenv.system == "i686-linux") "-U__i686"
+ " -Wno-error=strict-prototypes";
}
# Remove the `gccCross' attribute so that the *native* glibc store path