forked from mirrors/nixpkgs
powerdns: fix 32-bit builds against glibc
This commit is contained in:
parent
3c526dbe2c
commit
f588040472
|
@ -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.hostPlaftorm.is32bit [
|
||||
"-D_TIME_BITS=64" "-D_FILE_OFFSET_BITS=64"
|
||||
];
|
||||
|
||||
configureFlags = [
|
||||
"--disable-silent-rules"
|
||||
"--enable-dns-over-tls"
|
||||
|
|
Loading…
Reference in a new issue