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:
parent
bed103ef53
commit
c0d379f69a
@ -20,6 +20,10 @@ stdenv.mkDerivation rec {
|
|||||||
# http://www.mail-archive.com/blfs-book@linuxfromscratch.org/msg13013.html
|
# http://www.mail-archive.com/blfs-book@linuxfromscratch.org/msg13013.html
|
||||||
NIX_CFLAGS_COMPILE = "-D_GNU_SOURCE";
|
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];
|
buildInputs = [makeWrapper];
|
||||||
|
|
||||||
postInstall =
|
postInstall =
|
||||||
|
Loading…
x
Reference in New Issue
Block a user