Merge pull request #189908 from yvesf/fix-crosscompile-scanbd
This commit is contained in:
commit
4a9b5f00b8
1 changed files with 4 additions and 0 deletions
|
@ -18,6 +18,10 @@ stdenv.mkDerivation rec {
|
|||
"--enable-udev"
|
||||
"--with-scanbdconfdir=/etc/scanbd"
|
||||
"--with-systemdsystemunitdir=$out/lib/systemd/system"
|
||||
] ++ lib.optionals (stdenv.hostPlatform != stdenv.buildPlatform) [
|
||||
# AC_FUNC_MALLOC is broken on cross builds.
|
||||
"ac_cv_func_malloc_0_nonnull=yes"
|
||||
"ac_cv_func_realloc_0_nonnull=yes"
|
||||
];
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
|
Loading…
Reference in a new issue