Unverified Commit ed0fe13c authored by Artturin's avatar Artturin Committed by GitHub
Browse files

libgrapheme: fix cross compilation (#339568)

parents 5d60e7bd 5fc29fc1
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -9,6 +9,11 @@ stdenv.mkDerivation rec {
    hash = "sha256-pou93edr1Vul1kEWzl5CoT3wRcgcCFLemrYIlqoUMSU=";
  };

  postPatch = ''
    substituteInPlace configure \
      --replace-fail "uname" "echo ${stdenv.hostPlatform.uname.system}"
  '';

  depsBuildBuild = [ buildPackages.stdenv.cc ];

  makeFlags = [ "AR:=$(AR)" "CC:=$(CC)" "RANLIB:=$(RANLIB)" "BUILD_CC=$(CC_FOR_BUILD)" ];