diff options
author | Joachim Fasting <joachifm@fastmail.fm> | 2016-03-26 15:39:20 +0100 |
---|---|---|
committer | Joachim Fasting <joachifm@fastmail.fm> | 2016-03-26 16:54:19 +0100 |
commit | 3fe86ac5821aa4fadbfc6a41c5cde24273491e27 (patch) | |
tree | 9c005b946f945a1c30e4e54c95231ce68404cbe0 /pkgs/development/interpreters/io | |
parent | 6745a568e7af6b070918d2aa6d3374fed45158e2 (diff) |
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
Diffstat (limited to 'pkgs/development/interpreters/io')
-rw-r--r-- | pkgs/development/interpreters/io/default.nix | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgs/development/interpreters/io/default.nix b/pkgs/development/interpreters/io/default.nix index f4854c237bd21..4f4880aaca72f 100644 --- a/pkgs/development/interpreters/io/default.nix +++ b/pkgs/development/interpreters/io/default.nix @@ -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"; |