From c52db08aa02ac6f326624331305313c7056e3b85 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20=C4=8Cun=C3=A1t?= Date: Thu, 27 Nov 2014 00:51:35 +0100 Subject: [PATCH] sdcc: fix build with glibc-2.20 (from upstream) --- pkgs/development/compilers/sdcc/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/development/compilers/sdcc/default.nix b/pkgs/development/compilers/sdcc/default.nix index fe293fbc4b8..0650fae917a 100644 --- a/pkgs/development/compilers/sdcc/default.nix +++ b/pkgs/development/compilers/sdcc/default.nix @@ -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 = ''