diff options
author | Vladimír Čunát <vcunat@gmail.com> | 2014-11-27 00:51:35 +0100 |
---|---|---|
committer | Vladimír Čunát <vcunat@gmail.com> | 2014-11-27 00:51:35 +0100 |
commit | c52db08aa02ac6f326624331305313c7056e3b85 (patch) | |
tree | 90605c3aa965eb62277b6b56f71606f73d48b23c /pkgs/development/compilers/sdcc/default.nix | |
parent | 75d7b9c0c34b5266a9d6a76d42abb4acc5e0e94a (diff) | |
download | nixlib-c52db08aa02ac6f326624331305313c7056e3b85.tar nixlib-c52db08aa02ac6f326624331305313c7056e3b85.tar.gz nixlib-c52db08aa02ac6f326624331305313c7056e3b85.tar.bz2 nixlib-c52db08aa02ac6f326624331305313c7056e3b85.tar.lz nixlib-c52db08aa02ac6f326624331305313c7056e3b85.tar.xz nixlib-c52db08aa02ac6f326624331305313c7056e3b85.tar.zst nixlib-c52db08aa02ac6f326624331305313c7056e3b85.zip |
sdcc: fix build with glibc-2.20 (from upstream)
Diffstat (limited to 'pkgs/development/compilers/sdcc/default.nix')
-rw-r--r-- | pkgs/development/compilers/sdcc/default.nix | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/development/compilers/sdcc/default.nix b/pkgs/development/compilers/sdcc/default.nix index fe293fbc4b8d..0650fae917a6 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 = '' |