Skip to content

Commit

Permalink
pdns: enable experimental-64bit-time_t-support-on-glibc
Browse files Browse the repository at this point in the history
  • Loading branch information
NickCao committed Oct 2, 2024
1 parent 417ef87 commit fcde12c
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions pkgs/servers/dns/pdns/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -53,15 +53,8 @@ stdenv.mkDerivation (finalAttrs: {
tinycdb
];

# Configure phase requires 64-bit time_t even on 32-bit platforms.
env.NIX_CFLAGS_COMPILE = toString (
lib.optionals stdenv.hostPlatform.is32bit [
"-D_TIME_BITS=64"
"-D_FILE_OFFSET_BITS=64"
]
);

configureFlags = [
(lib.enableFeature stdenv.hostPlatform.is32bit "experimental-64bit-time_t-support-on-glibc")
(lib.enableFeature false "silent-rules")
(lib.enableFeature true "dns-over-tls")
(lib.enableFeature true "unit-tests")
Expand Down

0 comments on commit fcde12c

Please sign in to comment.