Merge pull request #313371 from teidesu/zhf/jikespg

jikespg: fixed darwin build
This commit is contained in:
Pascal Wittmann 2024-05-21 15:45:39 +02:00 committed by GitHub
commit 7802569075
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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";