Unverified Commit 191f1a50 authored by Weijia Wang's avatar Weijia Wang Committed by GitHub
Browse files

Merge pull request #232776 from trofi/isl_0_24-zhf

isl_0_24: pull CC_FOR_BUILD
parents e0aeb5ce 037e2285
Loading
Loading
Loading
Loading
+7 −1
Original line number Diff line number Diff line
@@ -5,7 +5,12 @@
, patches ? []
}:

{ lib, stdenv, fetchurl, gmp, autoreconfHook
{ lib
, stdenv
, fetchurl
, gmp
, autoreconfHook
, buildPackages
}:

stdenv.mkDerivation {
@@ -19,6 +24,7 @@ stdenv.mkDerivation {
  inherit patches;

  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 ];
  buildInputs = [ gmp ];