boehm-gc: Don't use stdenv ? cross

This commit is contained in:
hsloan 2017-06-28 16:01:43 -04:00 committed by John Ericson
parent 784ffeaabd
commit 67ae0f0370

View file

@ -1,4 +1,6 @@
{ lib, stdenv, fetchurl, pkgconfig, libatomic_ops, enableLargeConfig ? false }:
{ lib, stdenv, fetchurl, pkgconfig, libatomic_ops, enableLargeConfig ? false
, buildPlatform, hostPlatform
}:
stdenv.mkDerivation rec {
name = "boehm-gc-7.6.0";
@ -20,7 +22,7 @@ stdenv.mkDerivation rec {
doCheck = true;
# Don't run the native `strip' when cross-compiling.
dontStrip = stdenv ? cross;
dontStrip = hostPlatform != buildPlatform;
postInstall =
''