Merge pull request #166534 from vcunat/p/powerdns-32bit
powerdns: fix 32-bit builds against glibc
This commit is contained in:
commit
45a5514f55
1 changed files with 5 additions and 0 deletions
|
@ -20,6 +20,11 @@ stdenv.mkDerivation rec {
|
|||
libyamlcpp libsodium curl unixODBC openssl systemd lmdb tinycdb
|
||||
];
|
||||
|
||||
# Configure phase requires 64-bit time_t even on 32-bit platforms.
|
||||
NIX_CFLAGS_COMPILE = lib.optionals stdenv.hostPlatform.is32bit [
|
||||
"-D_TIME_BITS=64" "-D_FILE_OFFSET_BITS=64"
|
||||
];
|
||||
|
||||
configureFlags = [
|
||||
"--disable-silent-rules"
|
||||
"--enable-dns-over-tls"
|
||||
|
|
Loading…
Reference in a new issue