Merge pull request #275082 from Majiir/gen6dns-cross

gen6dns: fix cross compilation
This commit is contained in:
Nick Cao 2023-12-24 16:26:00 -05:00 committed by GitHub
commit 7e15118af2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -19,6 +19,10 @@ stdenv.mkDerivation rec {
installManPage gen6dns.1
'';
configureFlags = lib.optionals (!stdenv.buildPlatform.canExecute stdenv.hostPlatform) [
"ac_cv_func_malloc_0_nonnull=yes"
];
makeFlags = [ "INSTALL_DIR=$(out)/bin" ];
meta = with lib; {