boehmgc: little cleanup
This commit is contained in:
parent
7ea3d4395d
commit
06c51c4604
@ -1,7 +1,6 @@
|
||||
{ lib
|
||||
, stdenv
|
||||
, fetchurl
|
||||
, autoreconfHook
|
||||
# doc: https://github.com/ivmai/bdwgc/blob/v8.2.2/doc/README.macros (LARGE_CONFIG)
|
||||
, enableLargeConfig ? false
|
||||
, enableMmap ? true
|
||||
@ -36,14 +35,14 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
# don't forget to disable the fix (and if the next release does
|
||||
# not fix the problem the test failure will be a reminder to
|
||||
# extend the set of versions requiring the workaround).
|
||||
makeFlags = if (stdenv.hostPlatform.isPower64 &&
|
||||
makeFlags = lib.optionals (stdenv.hostPlatform.isPower64 &&
|
||||
finalAttrs.version == "8.2.2")
|
||||
then [
|
||||
[
|
||||
# do not use /proc primitives to track dirty bits; see:
|
||||
# https://github.com/ivmai/bdwgc/issues/479#issuecomment-1279687537
|
||||
# https://github.com/ivmai/bdwgc/blob/54522af853de28f45195044dadfd795c4e5942aa/include/private/gcconfig.h#L741
|
||||
"CFLAGS_EXTRA=-DNO_SOFT_VDB"
|
||||
] else null;
|
||||
];
|
||||
|
||||
# `gctest` fails under emulation on aarch64-darwin
|
||||
doCheck = !(stdenv.isDarwin && stdenv.isx86_64);
|
||||
|
Loading…
Reference in New Issue
Block a user