summary refs log tree commit diff
path: root/pkgs/tools/networking
diff options
context:
space:
mode:
authorLluís Batlle i Rossell <viric@vicerveza.homeunix.net>2009-12-23 08:55:32 +0000
committerLluís Batlle i Rossell <viric@vicerveza.homeunix.net>2009-12-23 08:55:32 +0000
commitc0d379f69a4cade0f9f4d8ed18e2df3b76b13673 (patch)
treeb299316de3f59b68bb37ee1352f16a20a86cef35 /pkgs/tools/networking
parentbed103ef532ca7b92f665b8ef7e647fad2685f4c (diff)
downloadnixpkgs-c0d379f69a4cade0f9f4d8ed18e2df3b76b13673.tar
nixpkgs-c0d379f69a4cade0f9f4d8ed18e2df3b76b13673.tar.gz
nixpkgs-c0d379f69a4cade0f9f4d8ed18e2df3b76b13673.tar.bz2
nixpkgs-c0d379f69a4cade0f9f4d8ed18e2df3b76b13673.tar.lz
nixpkgs-c0d379f69a4cade0f9f4d8ed18e2df3b76b13673.tar.xz
nixpkgs-c0d379f69a4cade0f9f4d8ed18e2df3b76b13673.tar.zst
nixpkgs-c0d379f69a4cade0f9f4d8ed18e2df3b76b13673.zip
Made dhcp build (removing its -Werror). gcc 4.4 complained on uninitializated
variables.


svn path=/nixpkgs/branches/stdenv-updates/; revision=19079
Diffstat (limited to 'pkgs/tools/networking')
-rw-r--r--pkgs/tools/networking/dhcp/default.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/pkgs/tools/networking/dhcp/default.nix b/pkgs/tools/networking/dhcp/default.nix
index de6e08df7b6..14dccbe6896 100644
--- a/pkgs/tools/networking/dhcp/default.nix
+++ b/pkgs/tools/networking/dhcp/default.nix
@@ -20,6 +20,10 @@ stdenv.mkDerivation rec {
   # http://www.mail-archive.com/blfs-book@linuxfromscratch.org/msg13013.html
   NIX_CFLAGS_COMPILE = "-D_GNU_SOURCE";
 
+  # It would automatically add -Werror, which disables build in gcc 4.4
+  # due to an uninitialized variable.
+  CFLAGS = "-g -O2 -Wall";
+
   buildInputs = [makeWrapper];
 
   postInstall =