isl_0_24: pull CC_FOR_BUILD
Without the change `isl_0_24` build on aarch64-linux fails due to missing $target-gcc wrapper: https://hydra.nixos.org/build/220002237 configure: error: in `/build/isl-0.24': configure: error: C compiler cannot create executables See `config.log' for more details ZHF #230712
This commit is contained in:
parent
6a414c5a5b
commit
037e228522
|
@ -5,7 +5,12 @@
|
||||||
, patches ? []
|
, patches ? []
|
||||||
}:
|
}:
|
||||||
|
|
||||||
{ lib, stdenv, fetchurl, gmp, autoreconfHook
|
{ lib
|
||||||
|
, stdenv
|
||||||
|
, fetchurl
|
||||||
|
, gmp
|
||||||
|
, autoreconfHook
|
||||||
|
, buildPackages
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
|
@ -19,6 +24,7 @@ stdenv.mkDerivation {
|
||||||
inherit patches;
|
inherit patches;
|
||||||
|
|
||||||
strictDeps = true;
|
strictDeps = true;
|
||||||
|
depsBuildBuild = lib.optionals (lib.versionAtLeast version "0.24") [ buildPackages.stdenv.cc ];
|
||||||
nativeBuildInputs = lib.optionals (stdenv.hostPlatform.isRiscV && lib.versionOlder version "0.24") [ autoreconfHook ];
|
nativeBuildInputs = lib.optionals (stdenv.hostPlatform.isRiscV && lib.versionOlder version "0.24") [ autoreconfHook ];
|
||||||
buildInputs = [ gmp ];
|
buildInputs = [ gmp ];
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue