gcl: gcc5 build: enforce old inline semantics for now; will be fixed in the next upstream release

This commit is contained in:
Michael Raskin 2016-03-23 15:07:05 +01:00
parent 27eac5313e
commit 9ed00ff086

View file

@ -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 */