Made dhcp build (removing its -Werror). gcc 4.4 complained on uninitializated

variables.


svn path=/nixpkgs/branches/stdenv-updates/; revision=19079
This commit is contained in:
Lluís Batlle i Rossell 2009-12-23 08:55:32 +00:00
parent bed103ef53
commit c0d379f69a

View File

@ -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 =