Unverified Commit 567125c6 authored by alina sireneva's avatar alina sireneva
Browse files

jikespg: fixed darwin build

parent 8eaad354
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -10,7 +10,7 @@ stdenv.mkDerivation rec {
  };

  postPatch = ''
    substituteInPlace Makefile --replace "gcc" "${stdenv.cc.targetPrefix}cc"
    substituteInPlace Makefile --replace-fail "gcc" "${stdenv.cc.targetPrefix}cc ${lib.optionalString stdenv.isDarwin "-std=c89"}"
  '';

  sourceRoot = "jikespg/src";