Merge pull request #14221 from joachifm/fix-io-build-for-staging

io: fix gcc5 build
This commit is contained in:
Domen Kožar 2016-03-26 20:04:14 +00:00
commit c9f8d18fb1
1 changed files with 2 additions and 1 deletions

View File

@ -18,7 +18,8 @@ stdenv.mkDerivation {
freeglut libsamplerate pcre libevent libedit yajl 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 = { meta = {
description = "Io programming language"; description = "Io programming language";