boehm-gc: Don't use stdenv ? cross
This commit is contained in:
parent
784ffeaabd
commit
67ae0f0370
1 changed files with 4 additions and 2 deletions
|
@ -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 =
|
||||
''
|
||||
|
|
Loading…
Reference in a new issue