boehmgc: drop musl flags, per upstream's note (!) (#157625)

0938316e05 (commitcomment-63005097)

Resulting binaries are identifical according to diffoscope
(other than embedded /nix/store/.../ paths).

FWIW, going back through versions we've packaged, the most recent
instance where these flags produced differing outputs was in 7.6.8
(comparing $out's only, FWIW).
This commit is contained in:
Will Dietz 2022-02-01 12:18:35 -06:00 committed by GitHub
parent e977885cba
commit 2e04cdd240
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -19,10 +19,6 @@ stdenv.mkDerivation rec {
outputs = [ "out" "dev" "doc" ];
separateDebugInfo = stdenv.isLinux && stdenv.hostPlatform.libc != "musl";
preConfigure = lib.optionalString (stdenv.hostPlatform.libc == "musl") ''
export NIX_CFLAGS_COMPILE+=" -D_GNU_SOURCE -DUSE_MMAP -DHAVE_DL_ITERATE_PHDR"
'';
# boehm-gc whitelists GCC threading models
patches = lib.optional stdenv.hostPlatform.isMinGW ./mcfgthread.patch;