sdcc: fix build with glibc-2.20 (from upstream)

This commit is contained in:
Vladimír Čunát 2014-11-27 00:51:35 +01:00
parent 75d7b9c0c3
commit c52db08aa0

View File

@ -16,6 +16,8 @@ stdenv.mkDerivation rec {
${if gputils == null then "--disable-pic14-port --disable-pic16-port" else ""}
'';
NIX_CFLAGS_COMPILE = "--std=c99"; # http://sourceforge.net/p/sdcc/code/9106/
meta = with stdenv.lib; {
description = "Small Device C Compiler";
longDescription = ''