gatling: fix build with gcc14 (#393827)

This commit is contained in:
Arne Keller
2025-03-28 09:56:11 +01:00
committed by GitHub
+4 -2
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 = ''