diff options
author | Spencer Whitt <sw@swhitt.me> | 2015-05-14 15:12:04 -0400 |
---|---|---|
committer | Spencer Whitt <sw@swhitt.me> | 2015-05-15 11:58:19 -0400 |
commit | 94362af1e8f310a0b118d8c9c3be6263d3a9cf44 (patch) | |
tree | f4a8f599c0aa8ac6dd02694eb9a12a38bf034fb4 /pkgs/development/libraries/libev | |
parent | be03eefc9c55b723310d7b2970b8f62ca70344a1 (diff) |
libev: Fix compilation with clang
Diffstat (limited to 'pkgs/development/libraries/libev')
-rw-r--r-- | pkgs/development/libraries/libev/default.nix | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/pkgs/development/libraries/libev/default.nix b/pkgs/development/libraries/libev/default.nix index 90cab2cc68717..ce7d7b9e27595 100644 --- a/pkgs/development/libraries/libev/default.nix +++ b/pkgs/development/libraries/libev/default.nix @@ -7,6 +7,11 @@ stdenv.mkDerivation rec { url = "http://dist.schmorp.de/libev/${name}.tar.gz"; sha256 = "1jyw7qbl0spxqa0dccj9x1jsw7cj7szff43cq4acmklnra4mzz48"; }; + + # Version 4.19 is not valid C11 (which Clang default to) + # Check if this is still necessary on upgrade + NIX_CFLAGS_COMPILE = if stdenv.cc.isClang then "-std=c99" else null; + meta = { description = "A high-performance event loop/event model with lots of features"; maintainers = [ stdenv.lib.maintainers.raskin ]; |