mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 15:33:13 +00:00
Merge pull request #313371 from teidesu/zhf/jikespg
jikespg: fixed darwin build
This commit is contained in:
commit
7802569075
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user