diff options
author | Michael Raskin <7c6f434c@mail.ru> | 2016-03-23 15:07:05 +0100 |
---|---|---|
committer | Michael Raskin <7c6f434c@mail.ru> | 2016-03-23 15:10:12 +0100 |
commit | 9ed00ff086166b4ae7e0fe393942132da7525c75 (patch) | |
tree | e8dc1eff5fd66bbaa556ebd0520de5ec3620adf5 /pkgs/development/compilers/gcl | |
parent | 27eac5313ef3ac98e88207589d5699155f66cb28 (diff) |
gcl: gcc5 build: enforce old inline semantics for now; will be fixed in the next upstream release
Diffstat (limited to 'pkgs/development/compilers/gcl')
-rw-r--r-- | pkgs/development/compilers/gcl/default.nix | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/development/compilers/gcl/default.nix b/pkgs/development/compilers/gcl/default.nix index 1cbae9b81f50..cf5b862646e4 100644 --- a/pkgs/development/compilers/gcl/default.nix +++ b/pkgs/development/compilers/gcl/default.nix @@ -43,6 +43,8 @@ stdenv.mkDerivation rec { # sed -re "s@/bin/cat@$(which cat)@g" -i configure */configure # sed -re "s@if test -d /proc/self @if false @" -i configure # sed -re 's^([ \t])cpp ^\1cpp -I${stdenv.cc.cc}/include -I${stdenv.cc.libc}/include ^g' -i makefile + + export NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE -fgnu89-inline" ''; /* doConfigure should be removed if not needed */ |