mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 07:23:20 +00:00
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
|
||||
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 =
|
||||
|
Loading…
Reference in New Issue
Block a user