Unverified Commit d0ade5e2 authored by 7c6f434c's avatar 7c6f434c Committed by GitHub
Browse files

siege: fix build with clang (#480760)

parents 2ae081d9 2981125e
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -33,6 +33,9 @@ stdenv.mkDerivation rec {
    "--with-zlib=${zlib.dev}"
  ];

  # Borrowed solution from homebrew: https://github.com/Homebrew/homebrew-core/blob/1c7c95183c0984a84b1680422afab6578c300a27/Formula/s/siege.rb#L31
  CFLAGS = lib.optionalString stdenv.cc.isClang "-Wno-int-conversion";

  meta = {
    description = "HTTP load tester";
    homepage = "https://www.joedog.org/siege-home/";