mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 01:43:15 +00:00
boehm-gc: Don't run tests when cross-compiling
This commit is contained in:
parent
97c1211f95
commit
6b1a2b3089
@ -20,7 +20,7 @@ stdenv.mkDerivation rec {
|
||||
[ "--enable-cplusplus" ]
|
||||
++ lib.optional enableLargeConfig "--enable-large-config";
|
||||
|
||||
doCheck = true;
|
||||
doCheck = stdenv.buildPlatform == stdenv.hostPlatform;
|
||||
|
||||
# Don't run the native `strip' when cross-compiling.
|
||||
dontStrip = hostPlatform != buildPlatform;
|
||||
|
Loading…
Reference in New Issue
Block a user