Merge pull request #59787 from delroth/strip-glibc

glibc: re-enable stripping in cross builds
This commit is contained in:
Matthew Bauer 2019-04-17 16:07:40 -04:00 committed by GitHub
commit d0da672b0e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -214,10 +214,6 @@ stdenv.mkDerivation ({
// lib.optionalAttrs (stdenv.hostPlatform != stdenv.buildPlatform) {
preInstall = null; # clobber the native hook
dontStrip = true;
separateDebugInfo = false; # this is currently broken for crossDrv
# To avoid a dependency on the build system 'bash'.
preFixup = ''
rm -f $bin/bin/{ldd,tzselect,catchsegv,xtrace}