gatling: fix build with gcc14 (#393827)

This commit is contained in:
Arne Keller 2025-03-28 09:56:11 +01:00 committed by GitHub
commit 18cff5e982
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -30,8 +30,10 @@ stdenv.mkDerivation rec {
];
configurePhase = ''
substituteInPlace Makefile --replace "/usr/local" "$out"
substituteInPlace GNUmakefile --replace "/opt/diet" "$out"
substituteInPlace Makefile --replace-fail "/usr/local" "$out"
substituteInPlace GNUmakefile --replace-fail "/opt/diet" "$out"
substituteInPlace tryalloca.c --replace-fail "main() {" "int main() {"
substituteInPlace trysocket.c --replace-fail "main() {" "int main() {"
'';
buildPhase = ''