io: fix gcc5 build

c11 inline semantics breaks the build

See https://github.com/stevedekorte/io/issues/316
and https://hydra.nixos.org/build/33606216/nixlog/1/raw
This commit is contained in:
Joachim Fasting 2016-03-26 15:39:20 +01:00
parent 6745a568e7
commit 3fe86ac582

View File

@ -18,7 +18,8 @@ stdenv.mkDerivation {
freeglut libsamplerate pcre libevent libedit yajl
];
cmakeFlags = [ "-DCMAKE_BUILD_TYPE=release" ];
# for gcc5; c11 inline semantics breaks the build
NIX_CFLAGS_COMPILE = "-fgnu89-inline";
meta = {
description = "Io programming language";