libwebsockets: fix clang build

wip/yesman
Daiderd Jordan 4 years ago
parent 55668eb671
commit e002920d8c
No known key found for this signature in database
GPG Key ID: D02435D05B810C96
  1. 2
      pkgs/development/libraries/libwebsockets/default.nix

@ -17,7 +17,7 @@ let
nativeBuildInputs = [ cmake ];
cmakeFlags = [ "-DLWS_WITH_PLUGINS=ON" ];
NIX_CFLAGS_COMPILE = "-Wno-error=unused-but-set-variable";
NIX_CFLAGS_COMPILE = stdenv.lib.optionalString stdenv.cc.isGNU "-Wno-error=unused-but-set-variable";
meta = with stdenv.lib; {
description = "Light, portable C library for websockets";

Loading…
Cancel
Save