Skip to content

Commit 3607e1b

Browse files
committed
dhclient: build with gnu17
1 parent 00d6e60 commit 3607e1b

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

pkgs/dhclient/default.nix

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,13 +59,12 @@ stdenv.mkDerivation rec {
5959
++ lib.optional (stdenv.hostPlatform != stdenv.buildPlatform) "BUILD_CC=$(CC_FOR_BUILD)";
6060

6161
NIX_CFLAGS_COMPILE = builtins.toString [
62+
"-std=gnu17"
6263
"-Wno-error=pointer-compare"
6364
"-Wno-error=format-truncation"
6465
"-Wno-error=stringop-truncation"
6566
"-Wno-error=format-overflow"
6667
"-Wno-error=stringop-overflow=8"
67-
"-Wno-error=old-style-definition"
68-
"-Wno-error=incompatible-pointer-types"
6968
];
7069

7170
installFlags = [ "DESTDIR=\${out}" ];

0 commit comments

Comments
 (0)