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" ]
|
[ "--enable-cplusplus" ]
|
||||||
++ lib.optional enableLargeConfig "--enable-large-config";
|
++ lib.optional enableLargeConfig "--enable-large-config";
|
||||||
|
|
||||||
doCheck = true;
|
doCheck = stdenv.buildPlatform == stdenv.hostPlatform;
|
||||||
|
|
||||||
# Don't run the native `strip' when cross-compiling.
|
# Don't run the native `strip' when cross-compiling.
|
||||||
dontStrip = hostPlatform != buildPlatform;
|
dontStrip = hostPlatform != buildPlatform;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user