Unverified Commit 24b8833b authored by Mario Rodas's avatar Mario Rodas Committed by GitHub
Browse files

Merge pull request #267791 from reckenrode/groonga-fix

groonga: fix build with clang 16
parents 0fe53006 31b0ba68
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -31,6 +31,11 @@ stdenv.mkDerivation rec {
       optional zlibSupport "--with-zlib"
    ++ optional lz4Support  "--with-lz4";

  env = lib.optionalAttrs stdenv.cc.isClang {
    # Prevent warning about using a GNU extension from being promoted to an error.
    NIX_CFLAGS_COMPILE = "-Wno-error=gnu-folding-constant";
  };

  doInstallCheck    = true;
  installCheckPhase = "$out/bin/groonga --version";