boehm-gc: Don't use stdenv ? cross
This commit is contained in:
parent
784ffeaabd
commit
67ae0f0370
@ -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 {
|
stdenv.mkDerivation rec {
|
||||||
name = "boehm-gc-7.6.0";
|
name = "boehm-gc-7.6.0";
|
||||||
@ -20,7 +22,7 @@ stdenv.mkDerivation rec {
|
|||||||
doCheck = true;
|
doCheck = true;
|
||||||
|
|
||||||
# Don't run the native `strip' when cross-compiling.
|
# Don't run the native `strip' when cross-compiling.
|
||||||
dontStrip = stdenv ? cross;
|
dontStrip = hostPlatform != buildPlatform;
|
||||||
|
|
||||||
postInstall =
|
postInstall =
|
||||||
''
|
''
|
||||||
|
Loading…
x
Reference in New Issue
Block a user